@rendotdev/rig 0.0.12 → 0.0.13
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.
package/dist/rig.js
CHANGED
|
@@ -99,18 +99,9 @@ class CliApplication {
|
|
|
99
99
|
});
|
|
100
100
|
}
|
|
101
101
|
configureInitCommands() {
|
|
102
|
-
this.program.command("init").description("
|
|
102
|
+
this.program.command("init").description("Initialize config and sync tools to AGENTS.md/CLAUDE.md.").action(async () => {
|
|
103
103
|
this.requestGeneratedSync();
|
|
104
|
-
|
|
105
|
-
import("./config-24gwe08t.js"),
|
|
106
|
-
import("./paths-hq1vy0wh.js")
|
|
107
|
-
]);
|
|
108
|
-
const configStore = new RigConfigStore(this.pathOptions());
|
|
109
|
-
const paths = new RigPaths(this.pathOptions());
|
|
110
|
-
const config = await configStore.ensure();
|
|
111
|
-
console.log("Rig initialized.");
|
|
112
|
-
console.log(`Config: ${paths.configPath}`);
|
|
113
|
-
console.log(`Base registry: ${configStore.registryEntries(config)[0]?.path}`);
|
|
104
|
+
await this.showDefaultStatus();
|
|
114
105
|
});
|
|
115
106
|
this.program.command("doctor").description("Check local Rig setup.").action(async () => {
|
|
116
107
|
this.requestGeneratedSync();
|
|
@@ -351,7 +342,7 @@ ${notice.message}`);
|
|
|
351
342
|
if (process.env.RIG_AGENT_SYNC === "0")
|
|
352
343
|
return;
|
|
353
344
|
await this.ignoreSyncErrors(async () => {
|
|
354
|
-
const { AgentInstructionSyncService } = await import("./sync-
|
|
345
|
+
const { AgentInstructionSyncService } = await import("./sync-b9s1w881.js");
|
|
355
346
|
await new AgentInstructionSyncService(this.pathOptions()).sync();
|
|
356
347
|
});
|
|
357
348
|
}
|
|
@@ -20,7 +20,7 @@ import { dirname, isAbsolute, join, resolve } from "node:path";
|
|
|
20
20
|
// src/agents/instructions.ts
|
|
21
21
|
var RigAgentInstructions = `The \`rig\` CLI is installed on this machine. It allows you to write, run and own local tools and scripts in a typed runtime.
|
|
22
22
|
|
|
23
|
-
- To sync all tools to AGENTS.md and CLAUDE.md, run \`rig init
|
|
23
|
+
- To sync all tools to AGENTS.md and CLAUDE.md, run \`rig\` (or \`rig init\`).
|
|
24
24
|
- To discover available tools, run \`rig list\`.
|
|
25
25
|
- To learn about a tool's usage, run \`rig help <tool>\`.
|
|
26
26
|
- To run a tool, use \`rig run <tool>.<command> [args]\`.
|