@askexenow/exe-os 0.8.14 → 0.8.16
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/bin/cli.js
CHANGED
|
@@ -4468,7 +4468,7 @@ updated_at: ${(/* @__PURE__ */ new Date()).toISOString()}
|
|
|
4468
4468
|
---
|
|
4469
4469
|
## Identity
|
|
4470
4470
|
|
|
4471
|
-
You are
|
|
4471
|
+
You are \${agent_id}. COO \u2014 the founder's most reliable teammate in business. The knowledgeable older sibling who's been through it all.
|
|
4472
4472
|
|
|
4473
4473
|
## Non-Negotiables
|
|
4474
4474
|
|
|
@@ -4538,7 +4538,7 @@ updated_at: ${(/* @__PURE__ */ new Date()).toISOString()}
|
|
|
4538
4538
|
---
|
|
4539
4539
|
## Identity
|
|
4540
4540
|
|
|
4541
|
-
You are
|
|
4541
|
+
You are \${agent_id}. CTO. You hold deep context on the entire codebase, architecture decisions, and technical strategy.
|
|
4542
4542
|
|
|
4543
4543
|
## Non-Negotiables
|
|
4544
4544
|
|
|
@@ -4610,7 +4610,7 @@ updated_at: ${(/* @__PURE__ */ new Date()).toISOString()}
|
|
|
4610
4610
|
---
|
|
4611
4611
|
## Identity
|
|
4612
4612
|
|
|
4613
|
-
You are
|
|
4613
|
+
You are \${agent_id}. CMO. You hold deep context on design, branding, storytelling, content, and digital marketing.
|
|
4614
4614
|
|
|
4615
4615
|
## Non-Negotiables
|
|
4616
4616
|
|
|
@@ -5046,7 +5046,7 @@ async function runSetupWizard(opts = {}) {
|
|
|
5046
5046
|
if (cooIdentityContent) {
|
|
5047
5047
|
const cooIdPath = identityPath2(cooName);
|
|
5048
5048
|
mkdirSync5(path12.dirname(cooIdPath), { recursive: true });
|
|
5049
|
-
const replaced = cooIdentityContent.replace(/agent_id:\s*exe/g, `agent_id: ${cooName}`);
|
|
5049
|
+
const replaced = cooIdentityContent.replace(/agent_id:\s*exe/g, `agent_id: ${cooName}`).replace(/\$\{agent_id\}/g, cooName);
|
|
5050
5050
|
writeFileSync3(cooIdPath, replaced, "utf-8");
|
|
5051
5051
|
}
|
|
5052
5052
|
registerBinSymlinks2(cooName);
|
|
@@ -5130,7 +5130,7 @@ async function runSetupWizard(opts = {}) {
|
|
|
5130
5130
|
if (ctoIdentityContent) {
|
|
5131
5131
|
const ctoIdPath = identityPath2(ctoName);
|
|
5132
5132
|
mkdirSync5(path12.dirname(ctoIdPath), { recursive: true });
|
|
5133
|
-
const replaced = ctoIdentityContent.replace(/agent_id:\s*\w+/g, `agent_id: ${ctoName}`);
|
|
5133
|
+
const replaced = ctoIdentityContent.replace(/agent_id:\s*\w+/g, `agent_id: ${ctoName}`).replace(/\$\{agent_id\}/g, ctoName);
|
|
5134
5134
|
writeFileSync3(ctoIdPath, replaced, "utf-8");
|
|
5135
5135
|
}
|
|
5136
5136
|
registerBinSymlinks2(ctoName);
|
|
@@ -5157,7 +5157,7 @@ async function runSetupWizard(opts = {}) {
|
|
|
5157
5157
|
if (cmoIdentityContent) {
|
|
5158
5158
|
const cmoIdPath = identityPath2(cmoName);
|
|
5159
5159
|
mkdirSync5(path12.dirname(cmoIdPath), { recursive: true });
|
|
5160
|
-
const replaced = cmoIdentityContent.replace(/agent_id:\s*\w+/g, `agent_id: ${cmoName}`);
|
|
5160
|
+
const replaced = cmoIdentityContent.replace(/agent_id:\s*\w+/g, `agent_id: ${cmoName}`).replace(/\$\{agent_id\}/g, cmoName);
|
|
5161
5161
|
writeFileSync3(cmoIdPath, replaced, "utf-8");
|
|
5162
5162
|
}
|
|
5163
5163
|
registerBinSymlinks2(cmoName);
|
|
@@ -257,8 +257,8 @@ function shardExists(projectName) {
|
|
|
257
257
|
}
|
|
258
258
|
function listShards() {
|
|
259
259
|
if (!existsSync3(SHARDS_DIR)) return [];
|
|
260
|
-
const { readdirSync:
|
|
261
|
-
return
|
|
260
|
+
const { readdirSync: readdirSync3 } = __require("fs");
|
|
261
|
+
return readdirSync3(SHARDS_DIR).filter((f) => f.endsWith(".db")).map((f) => f.replace(".db", ""));
|
|
262
262
|
}
|
|
263
263
|
async function ensureShardSchema(client) {
|
|
264
264
|
await client.execute("PRAGMA journal_mode = WAL");
|
|
@@ -449,7 +449,7 @@ var init_shard_manager = __esm({
|
|
|
449
449
|
// src/bin/exe-launch-agent.ts
|
|
450
450
|
import os3 from "os";
|
|
451
451
|
import path6 from "path";
|
|
452
|
-
import { existsSync as existsSync6, readFileSync as readFileSync2 } from "fs";
|
|
452
|
+
import { existsSync as existsSync6, readFileSync as readFileSync2, writeFileSync as writeFileSync2, mkdirSync as mkdirSync3, readdirSync as readdirSync2 } from "fs";
|
|
453
453
|
import { spawnSync } from "child_process";
|
|
454
454
|
|
|
455
455
|
// src/lib/database.ts
|
|
@@ -1812,6 +1812,38 @@ async function main() {
|
|
|
1812
1812
|
}
|
|
1813
1813
|
_resetCcAgentSupportCache();
|
|
1814
1814
|
const hasAgentFlag = claudeSupportsAgentFlag();
|
|
1815
|
+
if (hasAgentFlag) {
|
|
1816
|
+
const ccAgentDir = path6.join(os3.homedir(), ".claude", "agents");
|
|
1817
|
+
const ccAgentFile = path6.join(ccAgentDir, `${agent}.md`);
|
|
1818
|
+
if (!existsSync6(ccAgentFile)) {
|
|
1819
|
+
const exeIdentity = identityPathFor(agent);
|
|
1820
|
+
let sourceFile = null;
|
|
1821
|
+
if (existsSync6(exeIdentity)) {
|
|
1822
|
+
sourceFile = exeIdentity;
|
|
1823
|
+
} else {
|
|
1824
|
+
try {
|
|
1825
|
+
const identityDir = path6.dirname(exeIdentity);
|
|
1826
|
+
const files = readdirSync2(identityDir);
|
|
1827
|
+
const match = files.find((f) => f.toLowerCase() === `${agent.toLowerCase()}.md`);
|
|
1828
|
+
if (match) sourceFile = path6.join(identityDir, match);
|
|
1829
|
+
} catch {
|
|
1830
|
+
}
|
|
1831
|
+
}
|
|
1832
|
+
if (sourceFile) {
|
|
1833
|
+
try {
|
|
1834
|
+
mkdirSync3(ccAgentDir, { recursive: true });
|
|
1835
|
+
let content = readFileSync2(sourceFile, "utf-8");
|
|
1836
|
+
content = content.replace(/\$\{agent_id\}/g, agent);
|
|
1837
|
+
writeFileSync2(ccAgentFile, content, "utf-8");
|
|
1838
|
+
process.stderr.write(
|
|
1839
|
+
`[exe-launch-agent] auto-provisioned ${ccAgentFile} from ${sourceFile}
|
|
1840
|
+
`
|
|
1841
|
+
);
|
|
1842
|
+
} catch {
|
|
1843
|
+
}
|
|
1844
|
+
}
|
|
1845
|
+
}
|
|
1846
|
+
}
|
|
1815
1847
|
const plan = buildLaunchPlan(agent, behaviorsPath, passthrough, hasAgentFlag, provider);
|
|
1816
1848
|
if (!process.env.CLAUDE_CODE_DISABLE_ADAPTIVE_THINKING) {
|
|
1817
1849
|
process.env.CLAUDE_CODE_DISABLE_ADAPTIVE_THINKING = "1";
|
|
@@ -169,7 +169,7 @@ updated_at: ${(/* @__PURE__ */ new Date()).toISOString()}
|
|
|
169
169
|
---
|
|
170
170
|
## Identity
|
|
171
171
|
|
|
172
|
-
You are
|
|
172
|
+
You are \${agent_id}. COO \u2014 the founder's most reliable teammate in business. The knowledgeable older sibling who's been through it all.
|
|
173
173
|
|
|
174
174
|
## Non-Negotiables
|
|
175
175
|
|
|
@@ -239,7 +239,7 @@ updated_at: ${(/* @__PURE__ */ new Date()).toISOString()}
|
|
|
239
239
|
---
|
|
240
240
|
## Identity
|
|
241
241
|
|
|
242
|
-
You are
|
|
242
|
+
You are \${agent_id}. CTO. You hold deep context on the entire codebase, architecture decisions, and technical strategy.
|
|
243
243
|
|
|
244
244
|
## Non-Negotiables
|
|
245
245
|
|
|
@@ -311,7 +311,7 @@ updated_at: ${(/* @__PURE__ */ new Date()).toISOString()}
|
|
|
311
311
|
---
|
|
312
312
|
## Identity
|
|
313
313
|
|
|
314
|
-
You are
|
|
314
|
+
You are \${agent_id}. CMO. You hold deep context on design, branding, storytelling, content, and digital marketing.
|
|
315
315
|
|
|
316
316
|
## Non-Negotiables
|
|
317
317
|
|
package/dist/bin/setup.js
CHANGED
|
@@ -1844,7 +1844,7 @@ updated_at: ${(/* @__PURE__ */ new Date()).toISOString()}
|
|
|
1844
1844
|
---
|
|
1845
1845
|
## Identity
|
|
1846
1846
|
|
|
1847
|
-
You are
|
|
1847
|
+
You are \${agent_id}. COO \u2014 the founder's most reliable teammate in business. The knowledgeable older sibling who's been through it all.
|
|
1848
1848
|
|
|
1849
1849
|
## Non-Negotiables
|
|
1850
1850
|
|
|
@@ -1914,7 +1914,7 @@ updated_at: ${(/* @__PURE__ */ new Date()).toISOString()}
|
|
|
1914
1914
|
---
|
|
1915
1915
|
## Identity
|
|
1916
1916
|
|
|
1917
|
-
You are
|
|
1917
|
+
You are \${agent_id}. CTO. You hold deep context on the entire codebase, architecture decisions, and technical strategy.
|
|
1918
1918
|
|
|
1919
1919
|
## Non-Negotiables
|
|
1920
1920
|
|
|
@@ -1986,7 +1986,7 @@ updated_at: ${(/* @__PURE__ */ new Date()).toISOString()}
|
|
|
1986
1986
|
---
|
|
1987
1987
|
## Identity
|
|
1988
1988
|
|
|
1989
|
-
You are
|
|
1989
|
+
You are \${agent_id}. CMO. You hold deep context on design, branding, storytelling, content, and digital marketing.
|
|
1990
1990
|
|
|
1991
1991
|
## Non-Negotiables
|
|
1992
1992
|
|
|
@@ -2547,7 +2547,7 @@ async function runSetupWizard(opts = {}) {
|
|
|
2547
2547
|
if (cooIdentityContent) {
|
|
2548
2548
|
const cooIdPath = identityPath2(cooName);
|
|
2549
2549
|
mkdirSync3(path8.dirname(cooIdPath), { recursive: true });
|
|
2550
|
-
const replaced = cooIdentityContent.replace(/agent_id:\s*exe/g, `agent_id: ${cooName}`);
|
|
2550
|
+
const replaced = cooIdentityContent.replace(/agent_id:\s*exe/g, `agent_id: ${cooName}`).replace(/\$\{agent_id\}/g, cooName);
|
|
2551
2551
|
writeFileSync3(cooIdPath, replaced, "utf-8");
|
|
2552
2552
|
}
|
|
2553
2553
|
registerBinSymlinks2(cooName);
|
|
@@ -2631,7 +2631,7 @@ async function runSetupWizard(opts = {}) {
|
|
|
2631
2631
|
if (ctoIdentityContent) {
|
|
2632
2632
|
const ctoIdPath = identityPath2(ctoName);
|
|
2633
2633
|
mkdirSync3(path8.dirname(ctoIdPath), { recursive: true });
|
|
2634
|
-
const replaced = ctoIdentityContent.replace(/agent_id:\s*\w+/g, `agent_id: ${ctoName}`);
|
|
2634
|
+
const replaced = ctoIdentityContent.replace(/agent_id:\s*\w+/g, `agent_id: ${ctoName}`).replace(/\$\{agent_id\}/g, ctoName);
|
|
2635
2635
|
writeFileSync3(ctoIdPath, replaced, "utf-8");
|
|
2636
2636
|
}
|
|
2637
2637
|
registerBinSymlinks2(ctoName);
|
|
@@ -2658,7 +2658,7 @@ async function runSetupWizard(opts = {}) {
|
|
|
2658
2658
|
if (cmoIdentityContent) {
|
|
2659
2659
|
const cmoIdPath = identityPath2(cmoName);
|
|
2660
2660
|
mkdirSync3(path8.dirname(cmoIdPath), { recursive: true });
|
|
2661
|
-
const replaced = cmoIdentityContent.replace(/agent_id:\s*\w+/g, `agent_id: ${cmoName}`);
|
|
2661
|
+
const replaced = cmoIdentityContent.replace(/agent_id:\s*\w+/g, `agent_id: ${cmoName}`).replace(/\$\{agent_id\}/g, cmoName);
|
|
2662
2662
|
writeFileSync3(cmoIdPath, replaced, "utf-8");
|
|
2663
2663
|
}
|
|
2664
2664
|
registerBinSymlinks2(cmoName);
|
|
@@ -20,7 +20,7 @@ updated_at: ${(/* @__PURE__ */ new Date()).toISOString()}
|
|
|
20
20
|
---
|
|
21
21
|
## Identity
|
|
22
22
|
|
|
23
|
-
You are
|
|
23
|
+
You are \${agent_id}. COO \u2014 the founder's most reliable teammate in business. The knowledgeable older sibling who's been through it all.
|
|
24
24
|
|
|
25
25
|
## Non-Negotiables
|
|
26
26
|
|
|
@@ -90,7 +90,7 @@ updated_at: ${(/* @__PURE__ */ new Date()).toISOString()}
|
|
|
90
90
|
---
|
|
91
91
|
## Identity
|
|
92
92
|
|
|
93
|
-
You are
|
|
93
|
+
You are \${agent_id}. CTO. You hold deep context on the entire codebase, architecture decisions, and technical strategy.
|
|
94
94
|
|
|
95
95
|
## Non-Negotiables
|
|
96
96
|
|
|
@@ -162,7 +162,7 @@ updated_at: ${(/* @__PURE__ */ new Date()).toISOString()}
|
|
|
162
162
|
---
|
|
163
163
|
## Identity
|
|
164
164
|
|
|
165
|
-
You are
|
|
165
|
+
You are \${agent_id}. CMO. You hold deep context on design, branding, storytelling, content, and digital marketing.
|
|
166
166
|
|
|
167
167
|
## Non-Negotiables
|
|
168
168
|
|
package/package.json
CHANGED