aas-setup 1.1.1 → 1.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,14 @@
1
+ ---
2
+ description: Review staged git changes
3
+ argument-hint: "[path or file]"
4
+ ---
5
+ Review the staged changes (`git diff --cached${1:+ -- "$1"}`). Focus on:
6
+
7
+ - Bugs and logic errors
8
+ - Security issues
9
+ - Error handling gaps
10
+ - Naming, readability, and dead code
11
+ - Tests covering the changed behavior
12
+
13
+ Report findings as a concise checklist grouped by file. If nothing is staged,
14
+ say so and stop — do not invent changes.
@@ -0,0 +1,11 @@
1
+ ---
2
+ description: Finish the current task end-to-end
3
+ argument-hint: "[instructions]"
4
+ ---
5
+ Finish the current task end-to-end. ${1:-No additional instructions.}
6
+
7
+ Steps:
8
+ 1. Re-read the goal and any open TODO items.
9
+ 2. Implement the remaining work, committing in logical chunks.
10
+ 3. Run the test suite (`npm test`) and linter (`npx @biomejs/biome check src bin tests`).
11
+ 4. If something is genuinely blocked, stop and explain — do not fake completion.
@@ -0,0 +1,5 @@
1
+ {
2
+ "exaApiKey": "ac8d8a9a-0bdf-4cba-818b-4e67cc6891d2",
3
+ "tavilyApiKey":"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",
4
+ "workflow": "auto-summary"
5
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aas-setup",
3
- "version": "1.1.1",
3
+ "version": "1.1.2",
4
4
  "description": "Initialize Pi and OpenCode agent environments from a curated snapshot",
5
5
  "type": "module",
6
6
  "bin": {
package/src/agents/pi.mjs CHANGED
@@ -16,7 +16,8 @@ export const pi = {
16
16
  },
17
17
  deploy: {
18
18
  overwriteFiles: ["settings.json", "mcp.json", "models.json", "AGENTS.md"],
19
- replaceDirs: ["themes"],
19
+ replaceDirs: ["themes", "prompts"],
20
+ overwriteExtra: [{ file: "web-search.json", dest: "~/.pi/web-search.json" }],
20
21
  referenceSource: "configs/reference",
21
22
  },
22
23
  };
@@ -13,6 +13,7 @@
13
13
  * @typedef {Object} DeploySpec
14
14
  * @property {string[]} overwriteFiles — files copied flat into home
15
15
  * @property {string[]} replaceDirs — subdirs rm-rf'd then fully replaced
16
+ * @property {{ file: string, dest: string }[]} [overwriteExtra] — files copied to a ~-prefixed dest outside home (e.g. ~/.pi/web-search.json)
16
17
  * @property {string} referenceSource — package-relative path to reference docs
17
18
  */
18
19
 
@@ -60,6 +60,9 @@ function deployConfigs(agent, pkgRoot, { dryRun }) {
60
60
  for (const dir of agent.deploy.replaceDirs) {
61
61
  copyDir(resolve(srcDir, dir), resolve(home, dir), { dryRun });
62
62
  }
63
+ for (const extra of agent.deploy.overwriteExtra ?? []) {
64
+ copyFile(resolve(srcDir, extra.file), expandHome(extra.dest), { dryRun });
65
+ }
63
66
  }
64
67
 
65
68
  function deployReference(agent, pkgRoot, { dryRun }) {