Selaa lähdekoodia

committing codemcp.toml file used (slightly adapted) for the last three commits

Brandon Wong 1 vuosi sitten
vanhempi
commit
04923d5b2c
1 muutettua tiedostoa jossa 14 lisäystä ja 0 poistoa
  1. 14 0
      codemcp.toml

+ 14 - 0
codemcp.toml

@@ -0,0 +1,14 @@
+project_prompt = '''
+- this is a firefox browser extension which manages a set of playlists, where each video is located at a url
+- it also tracks video playback history
+- playlist and history data is stored using the browser's storage API
+- the extension popup code is in the popup/ folder, and is implemented in Alpine.js
+  - all the Alpine code must be in "CSP" mode, which means there can be no javascript expression strings in the html attributes (no `===` equality checks, no function calls) (favor binding in Alpine.data instead)
+- background.js adds context menus (for adding new videos to the playlist), and manages automatic browser navigation and history tracking
+- content_scripts/content.js is injected to add video playback event listeners
+- under no circumstances will there be any need to read or write files outside the code directory
+  - do not execute any command that reads, writes, or searches for files outside the code directory
+- at the end of each request, before committing in git, save a copy of the contents of the context window (including the user's original prompt) to a file in the code folder with the filename of "<date>-codemcp-<feature name>.md"
+'''
+
+[commands]