@pantheon.ai/agents 0.0.2 → 0.0.4

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.
Files changed (2) hide show
  1. package/dist/index.js +3 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1472,6 +1472,7 @@ async function configAgent(name, options) {
1472
1472
  if (previousConfig) if (previousConfig.role === options.role) {
1473
1473
  console.log(`Agent ${name} already configured as ${options.role} for project ${options.projectId}.`);
1474
1474
  console.log(`Base branch id: ${previousConfig.base_branch_id}`);
1475
+ await provider.close();
1475
1476
  return;
1476
1477
  } else {
1477
1478
  console.error(`Agent ${name} already configured as ${previousConfig.role} for project ${options.projectId}.`);
@@ -1503,7 +1504,7 @@ async function configAgent(name, options) {
1503
1504
  1. Clone the main branch from https://github.com/pingcap-inc/pantheon-agents to a temporary directory.
1504
1505
  2. Copy the pantheon-agents/roles/${options.role}/AGENTS.md to \`<workspace>/AGENTS.md\`.
1505
1506
  3. Copy the pantheon-agents/roles/${options.role}/skills directory to \`<workspace>/.codex/skills\` if exists.
1506
- ${options.skills.length > 0 ? `4. Copy the pantheon-agents/skills/\{${options.skills.join(",")}} directory to \`<workspace>/.codex/\`` : ""}
1507
+ ${options.skills.length > 0 ? `4. Copy the pantheon-agents/skills/\{${options.skills.join(",")}} directory to \`<workspace>/.codex/skills/\`` : ""}
1507
1508
 
1508
1509
  Validate <workspace>: check if files and directorys exists:
1509
1510
  - AGENTS.md
@@ -1968,7 +1969,7 @@ var require_cli_options = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1968
1969
 
1969
1970
  //#endregion
1970
1971
  //#region package.json
1971
- var version = "0.0.1";
1972
+ var version = "0.0.4";
1972
1973
 
1973
1974
  //#endregion
1974
1975
  //#region index.ts
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pantheon.ai/agents",
3
3
  "type": "module",
4
- "version": "0.0.2",
4
+ "version": "0.0.4",
5
5
  "bin": {
6
6
  "pantheon-agents": "dist/index.js"
7
7
  },