@truefoundry/trueforge-core 0.1.2 → 0.1.4-rc.0
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/agent-session/TurnResourceResolver.d.ts.map +1 -1
- package/dist/agent-session/TurnResourceResolver.js +1 -4
- package/dist/agent-session/TurnResourceResolver.js.map +1 -1
- package/dist/agent-session/TurnResourceResolver.mjs +1 -4
- package/dist/agent-session/TurnResourceResolver.mjs.map +1 -1
- package/dist/agent-session/index.d.ts +1 -1
- package/dist/agent-session/index.d.ts.map +1 -1
- package/dist/agent-session/index.js.map +1 -1
- package/dist/agent-session/index.mjs.map +1 -1
- package/dist/agent-session/schemas/agentSpec.d.ts +7 -28
- package/dist/agent-session/schemas/agentSpec.d.ts.map +1 -1
- package/dist/agent-session/schemas/agentSpec.js +15 -43
- package/dist/agent-session/schemas/agentSpec.js.map +1 -1
- package/dist/agent-session/schemas/agentSpec.mjs +15 -43
- package/dist/agent-session/schemas/agentSpec.mjs.map +1 -1
- package/dist/agent-session/schemas/session.d.ts +0 -39
- package/dist/agent-session/schemas/session.d.ts.map +1 -1
- package/dist/core/index.d.ts +4 -1
- package/dist/core/index.d.ts.map +1 -1
- package/dist/core/index.js +12 -0
- package/dist/core/index.js.map +1 -1
- package/dist/core/index.mjs +7 -0
- package/dist/core/index.mjs.map +1 -1
- package/dist/core/runtime/AgentThread.d.ts.map +1 -1
- package/dist/core/runtime/AgentThread.js +25 -11
- package/dist/core/runtime/AgentThread.js.map +1 -1
- package/dist/core/runtime/AgentThread.mjs +25 -11
- package/dist/core/runtime/AgentThread.mjs.map +1 -1
- package/dist/core/sandbox/Sandbox.d.ts +15 -5
- package/dist/core/sandbox/Sandbox.d.ts.map +1 -1
- package/dist/core/sandbox/Sandbox.js +200 -84
- package/dist/core/sandbox/Sandbox.js.map +1 -1
- package/dist/core/sandbox/Sandbox.mjs +201 -85
- package/dist/core/sandbox/Sandbox.mjs.map +1 -1
- package/dist/core/sandbox/SandboxErrors.d.ts +7 -3
- package/dist/core/sandbox/SandboxErrors.d.ts.map +1 -1
- package/dist/core/sandbox/SandboxErrors.js +6 -6
- package/dist/core/sandbox/SandboxErrors.js.map +1 -1
- package/dist/core/sandbox/SandboxErrors.mjs +6 -6
- package/dist/core/sandbox/SandboxErrors.mjs.map +1 -1
- package/dist/core/sandbox/codeMode/CodeModeTransport.d.ts +22 -0
- package/dist/core/sandbox/codeMode/CodeModeTransport.d.ts.map +1 -1
- package/dist/core/sandbox/codeMode/CodeModeTransport.js.map +1 -1
- package/dist/core/sandbox/codeMode/nats/CodeModeNatsTransport.d.ts +9 -1
- package/dist/core/sandbox/codeMode/nats/CodeModeNatsTransport.d.ts.map +1 -1
- package/dist/core/sandbox/codeMode/nats/CodeModeNatsTransport.js +12 -0
- package/dist/core/sandbox/codeMode/nats/CodeModeNatsTransport.js.map +1 -1
- package/dist/core/sandbox/codeMode/nats/CodeModeNatsTransport.mjs +12 -0
- package/dist/core/sandbox/codeMode/nats/CodeModeNatsTransport.mjs.map +1 -1
- package/dist/core/sandbox/constants.d.ts +0 -2
- package/dist/core/sandbox/constants.d.ts.map +1 -1
- package/dist/core/sandbox/constants.js +2 -5
- package/dist/core/sandbox/constants.js.map +1 -1
- package/dist/core/sandbox/constants.mjs +1 -3
- package/dist/core/sandbox/constants.mjs.map +1 -1
- package/dist/core/sandbox/provider/DaytonaProvider.d.ts +4 -0
- package/dist/core/sandbox/provider/DaytonaProvider.d.ts.map +1 -1
- package/dist/core/sandbox/provider/DaytonaProvider.js +27 -5
- package/dist/core/sandbox/provider/DaytonaProvider.js.map +1 -1
- package/dist/core/sandbox/provider/DaytonaProvider.mjs +27 -4
- package/dist/core/sandbox/provider/DaytonaProvider.mjs.map +1 -1
- package/dist/core/sandbox/provider/Provider.d.ts +13 -1
- package/dist/core/sandbox/provider/Provider.d.ts.map +1 -1
- package/dist/core/sandbox/provider/Provider.js.map +1 -1
- package/dist/core/sandbox/provider/Provider.mjs.map +1 -1
- package/dist/core/sandbox/provider/TFYSandboxProvider.d.ts +17 -2
- package/dist/core/sandbox/provider/TFYSandboxProvider.d.ts.map +1 -1
- package/dist/core/sandbox/provider/TFYSandboxProvider.js +81 -17
- package/dist/core/sandbox/provider/TFYSandboxProvider.js.map +1 -1
- package/dist/core/sandbox/provider/TFYSandboxProvider.mjs +82 -13
- package/dist/core/sandbox/provider/TFYSandboxProvider.mjs.map +1 -1
- package/dist/core/sandbox/provider/execEnv.d.ts +6 -0
- package/dist/core/sandbox/provider/execEnv.d.ts.map +1 -0
- package/dist/core/sandbox/provider/execEnv.js +55 -0
- package/dist/core/sandbox/provider/execEnv.js.map +1 -0
- package/dist/core/sandbox/provider/execEnv.mjs +30 -0
- package/dist/core/sandbox/provider/execEnv.mjs.map +1 -0
- package/dist/core/sandbox/sandboxImage.d.ts +2 -5
- package/dist/core/sandbox/sandboxImage.d.ts.map +1 -1
- package/dist/core/sandbox/sandboxImage.js +8 -1
- package/dist/core/sandbox/sandboxImage.js.map +1 -1
- package/dist/core/sandbox/sandboxImage.mjs +6 -1
- package/dist/core/sandbox/sandboxImage.mjs.map +1 -1
- package/dist/core/sandbox/sandboxRef.d.ts +26 -0
- package/dist/core/sandbox/sandboxRef.d.ts.map +1 -0
- package/dist/core/sandbox/sandboxRef.js +69 -0
- package/dist/core/sandbox/sandboxRef.js.map +1 -0
- package/dist/core/sandbox/sandboxRef.mjs +41 -0
- package/dist/core/sandbox/sandboxRef.mjs.map +1 -0
- package/dist/core/sandbox/sandboxScripts.gen.d.ts +1 -1
- package/dist/core/sandbox/sandboxScripts.gen.d.ts.map +1 -1
- package/dist/core/sandbox/sandboxScripts.gen.js +1 -1
- package/dist/core/sandbox/sandboxScripts.gen.js.map +1 -1
- package/dist/core/sandbox/sandboxScripts.gen.mjs +1 -1
- package/dist/core/sandbox/sandboxScripts.gen.mjs.map +1 -1
- package/dist/core/sandbox/skills/ISkillMounter.d.ts +7 -2
- package/dist/core/sandbox/skills/ISkillMounter.d.ts.map +1 -1
- package/dist/core/sandbox/skills/ISkillMounter.js.map +1 -1
- package/dist/core/sandbox/skills/SkillMounter.d.ts +7 -2
- package/dist/core/sandbox/skills/SkillMounter.d.ts.map +1 -1
- package/dist/core/sandbox/skills/SkillMounter.js +5 -6
- package/dist/core/sandbox/skills/SkillMounter.js.map +1 -1
- package/dist/core/sandbox/skills/SkillMounter.mjs +5 -6
- package/dist/core/sandbox/skills/SkillMounter.mjs.map +1 -1
- package/dist/core/sandbox/skills/constants.d.ts +4 -2
- package/dist/core/sandbox/skills/constants.d.ts.map +1 -1
- package/dist/core/sandbox/skills/constants.js +2 -5
- package/dist/core/sandbox/skills/constants.js.map +1 -1
- package/dist/core/sandbox/skills/constants.mjs +2 -4
- package/dist/core/sandbox/skills/constants.mjs.map +1 -1
- package/dist/core/sandbox/skills/index.d.ts +1 -1
- package/dist/core/sandbox/skills/index.d.ts.map +1 -1
- package/dist/core/sandbox/skills/index.js +0 -2
- package/dist/core/sandbox/skills/index.js.map +1 -1
- package/dist/core/sandbox/skills/index.mjs +1 -2
- package/dist/core/sandbox/skills/index.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/core/sandbox/skills/SkillMounter.ts"],"sourcesContent":["import type { InstructionBuilder } from '../../InstructionBuilder';\nimport type { SandboxInit } from '../provider/Provider';\nimport { SKILL_DOWNLOAD_TIMEOUT_SECONDS, buildWriteAndRunScriptCommand } from '../Sandbox';\nimport { sandboxScripts } from '../sandboxScripts.gen';\nimport { SKILLS_PREAMBLE, getSkillPath, renderSkillPromptBody } from './constants';\nimport type { ISkillMounter } from './ISkillMounter';\n\n//
|
|
1
|
+
{"version":3,"sources":["../../../../src/core/sandbox/skills/SkillMounter.ts"],"sourcesContent":["import type { InstructionBuilder } from '../../InstructionBuilder';\nimport type { SandboxInit } from '../provider/Provider';\nimport { SKILL_DOWNLOAD_TIMEOUT_SECONDS, buildWriteAndRunScriptCommand } from '../Sandbox';\nimport { sandboxScripts } from '../sandboxScripts.gen';\nimport { SKILLS_PREAMBLE, getSkillPath, renderSkillPromptBody } from './constants';\nimport type { ISkillMounter } from './ISkillMounter';\n\n// A git-sourced skill materialized by a sparse clone in the sandbox (git_downloader.py). Git skills\n// never preload — their SKILL.md is read from disk at runtime (only name/description/path are\n// advertised in the prompt). Wire fields match the agent_spec git mount (`url`/`path`/`name`/`ref`);\n// the downloader resolves `ref` inside the sandbox before fetching.\nexport interface GitSkill {\n readonly name: string;\n readonly description: string;\n // Canonical https clone URL of the github.com/gitlab.com repo (host-validated by the caller).\n readonly url: string;\n // Subdirectory within the repo that holds the skill (empty = repo root).\n readonly path: string;\n // Branch, tag, or full object id — resolved and fetched by git_downloader.py in the sandbox.\n readonly ref: string;\n}\n\n// Serializable descriptor handed to git_downloader.py (base64 JSON); keys match its GitSkill model.\ninterface GitSkillSpec {\n name: string;\n url: string;\n path: string;\n ref: string;\n}\n\nexport class SkillMounter implements ISkillMounter {\n private readonly skills: readonly GitSkill[];\n\n constructor(skills: readonly GitSkill[]) {\n this.skills = skills;\n }\n\n instruction(builder: InstructionBuilder, paths: { skillsDir: string }): void {\n if (this.skills.length === 0) {\n return;\n }\n builder.addContent(SKILLS_PREAMBLE);\n for (const skill of this.skills) {\n builder.addSection(\n 'skill',\n renderSkillPromptBody({\n path: getSkillPath({ skillsDir: paths.skillsDir, skillName: skill.name }),\n name: skill.name,\n description: skill.description,\n preloadContent: null,\n }),\n );\n }\n }\n\n getSandboxInit(paths: { skillsDir: string; gitDownloaderPath: string }): SandboxInit {\n // An empty desired set is also the source-neutral cleanup path for a reused sandbox.\n const specs: GitSkillSpec[] = this.skills.map(skill => ({\n name: skill.name,\n url: skill.url,\n path: skill.path,\n ref: skill.ref,\n }));\n const gitSkillsB64 = Buffer.from(JSON.stringify(specs)).toString('base64');\n return {\n command: buildWriteAndRunScriptCommand({\n scriptPath: paths.gitDownloaderPath,\n // Bundled at build time (sandboxScripts.gen.ts) so the packaged library has no loose files.\n scriptContent: sandboxScripts.gitDownloader,\n }),\n env: { AGENT_GIT_SKILLS: gitSkillsB64, TFY_SKILLS_DIR: paths.skillsDir },\n timeoutSeconds: SKILL_DOWNLOAD_TIMEOUT_SECONDS,\n };\n }\n}\n"],"mappings":";AAEA,SAAS,gCAAgC,qCAAqC;AAC9E,SAAS,sBAAsB;AAC/B,SAAS,iBAAiB,cAAc,6BAA6B;AA0B9D,IAAM,eAAN,MAA4C;AAAA,EAChC;AAAA,EAEjB,YAAY,QAA6B;AACvC,SAAK,SAAS;AAAA,EAChB;AAAA,EAEA,YAAY,SAA6B,OAAoC;AAC3E,QAAI,KAAK,OAAO,WAAW,GAAG;AAC5B;AAAA,IACF;AACA,YAAQ,WAAW,eAAe;AAClC,eAAW,SAAS,KAAK,QAAQ;AAC/B,cAAQ;AAAA,QACN;AAAA,QACA,sBAAsB;AAAA,UACpB,MAAM,aAAa,EAAE,WAAW,MAAM,WAAW,WAAW,MAAM,KAAK,CAAC;AAAA,UACxE,MAAM,MAAM;AAAA,UACZ,aAAa,MAAM;AAAA,UACnB,gBAAgB;AAAA,QAClB,CAAC;AAAA,MACH;AAAA,IACF;AAAA,EACF;AAAA,EAEA,eAAe,OAAsE;AAEnF,UAAM,QAAwB,KAAK,OAAO,IAAI,YAAU;AAAA,MACtD,MAAM,MAAM;AAAA,MACZ,KAAK,MAAM;AAAA,MACX,MAAM,MAAM;AAAA,MACZ,KAAK,MAAM;AAAA,IACb,EAAE;AACF,UAAM,eAAe,OAAO,KAAK,KAAK,UAAU,KAAK,CAAC,EAAE,SAAS,QAAQ;AACzE,WAAO;AAAA,MACL,SAAS,8BAA8B;AAAA,QACrC,YAAY,MAAM;AAAA;AAAA,QAElB,eAAe,eAAe;AAAA,MAChC,CAAC;AAAA,MACD,KAAK,EAAE,kBAAkB,cAAc,gBAAgB,MAAM,UAAU;AAAA,MACvE,gBAAgB;AAAA,IAClB;AAAA,EACF;AACF;","names":[]}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
export declare
|
|
2
|
-
|
|
1
|
+
export declare function getSkillPath(params: {
|
|
2
|
+
skillsDir: string;
|
|
3
|
+
skillName: string;
|
|
4
|
+
}): string;
|
|
3
5
|
export declare const SKILLS_PREAMBLE: string;
|
|
4
6
|
export declare function renderSkillPromptBody(params: {
|
|
5
7
|
path: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../src/core/sandbox/skills/constants.ts"],"names":[],"mappings":"AAGA,
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../src/core/sandbox/skills/constants.ts"],"names":[],"mappings":"AAGA,wBAAgB,YAAY,CAAC,MAAM,EAAE;IAAE,SAAS,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA;CAAE,GAAG,MAAM,CAErF;AAED,eAAO,MAAM,eAAe,QAQhB,CAAC;AAGb,wBAAgB,qBAAqB,CAAC,MAAM,EAAE;IAC5C,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;CAC/B,GAAG,MAAM,CAIT"}
|
|
@@ -20,15 +20,13 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
20
20
|
// src/core/sandbox/skills/constants.ts
|
|
21
21
|
var constants_exports = {};
|
|
22
22
|
__export(constants_exports, {
|
|
23
|
-
SKILLS_DIR: () => SKILLS_DIR,
|
|
24
23
|
SKILLS_PREAMBLE: () => SKILLS_PREAMBLE,
|
|
25
24
|
getSkillPath: () => getSkillPath,
|
|
26
25
|
renderSkillPromptBody: () => renderSkillPromptBody
|
|
27
26
|
});
|
|
28
27
|
module.exports = __toCommonJS(constants_exports);
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
return `${SKILLS_DIR}/${skillName}`;
|
|
28
|
+
function getSkillPath(params) {
|
|
29
|
+
return `${params.skillsDir.replace(/\/+$/, "")}/${params.skillName}`;
|
|
32
30
|
}
|
|
33
31
|
var SKILLS_PREAMBLE = [
|
|
34
32
|
"1. The skill is present in the `path` directory.",
|
|
@@ -48,7 +46,6 @@ description: ${params.description}`;
|
|
|
48
46
|
}
|
|
49
47
|
// Annotate the CommonJS export names for ESM import in node:
|
|
50
48
|
0 && (module.exports = {
|
|
51
|
-
SKILLS_DIR,
|
|
52
49
|
SKILLS_PREAMBLE,
|
|
53
50
|
getSkillPath,
|
|
54
51
|
renderSkillPromptBody
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/core/sandbox/skills/constants.ts"],"sourcesContent":["// Skill prompt constants and helpers: how skills are described to the agent in the system prompt.\n\n//
|
|
1
|
+
{"version":3,"sources":["../../../../src/core/sandbox/skills/constants.ts"],"sourcesContent":["// Skill prompt constants and helpers: how skills are described to the agent in the system prompt.\n\n// On-disk directory a skill is materialized into, keyed by its (unique) name.\nexport function getSkillPath(params: { skillsDir: string; skillName: string }): string {\n return `${params.skillsDir.replace(/\\/+$/, '')}/${params.skillName}`;\n}\n\nexport const SKILLS_PREAMBLE = [\n '1. The skill is present in the `path` directory.',\n '2. SKILL.md file within the directory is the primary file, there can be other files as well.',\n '3. Use `description` to judge whether the Agent needs to use a skill.',\n '4. To use a skill:',\n '4.a. If the `SKILL.md content` is inlined, the Agent must not read `path/SKILL.md`.',\n '4.b. Otherwise the Agent must read `path/SKILL.md` first.',\n '5. The Agent must avoid listing the `path` unless there are references in `SKILL.md` and there is reason to do so given the current conversation.',\n].join('\\n');\n\n// The <skill> block body: inline preloaded SKILL.md when present, else advertise path/name/description.\nexport function renderSkillPromptBody(params: {\n path: string;\n name: string;\n description: string;\n preloadContent: string | null;\n}): string {\n return params.preloadContent\n ? `path: ${params.path}\\nSKILL.md content:\\n${params.preloadContent}`\n : `path: ${params.path}\\nname: ${params.name}\\ndescription: ${params.description}`;\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAGO,SAAS,aAAa,QAA0D;AACrF,SAAO,GAAG,OAAO,UAAU,QAAQ,QAAQ,EAAE,CAAC,IAAI,OAAO,SAAS;AACpE;AAEO,IAAM,kBAAkB;AAAA,EAC7B;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,EAAE,KAAK,IAAI;AAGJ,SAAS,sBAAsB,QAK3B;AACT,SAAO,OAAO,iBACV,SAAS,OAAO,IAAI;AAAA;AAAA,EAAwB,OAAO,cAAc,KACjE,SAAS,OAAO,IAAI;AAAA,QAAW,OAAO,IAAI;AAAA,eAAkB,OAAO,WAAW;AACpF;","names":[]}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
// src/core/sandbox/skills/constants.ts
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
return `${SKILLS_DIR}/${skillName}`;
|
|
2
|
+
function getSkillPath(params) {
|
|
3
|
+
return `${params.skillsDir.replace(/\/+$/, "")}/${params.skillName}`;
|
|
5
4
|
}
|
|
6
5
|
var SKILLS_PREAMBLE = [
|
|
7
6
|
"1. The skill is present in the `path` directory.",
|
|
@@ -20,7 +19,6 @@ name: ${params.name}
|
|
|
20
19
|
description: ${params.description}`;
|
|
21
20
|
}
|
|
22
21
|
export {
|
|
23
|
-
SKILLS_DIR,
|
|
24
22
|
SKILLS_PREAMBLE,
|
|
25
23
|
getSkillPath,
|
|
26
24
|
renderSkillPromptBody
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/core/sandbox/skills/constants.ts"],"sourcesContent":["// Skill prompt constants and helpers: how skills are described to the agent in the system prompt.\n\n//
|
|
1
|
+
{"version":3,"sources":["../../../../src/core/sandbox/skills/constants.ts"],"sourcesContent":["// Skill prompt constants and helpers: how skills are described to the agent in the system prompt.\n\n// On-disk directory a skill is materialized into, keyed by its (unique) name.\nexport function getSkillPath(params: { skillsDir: string; skillName: string }): string {\n return `${params.skillsDir.replace(/\\/+$/, '')}/${params.skillName}`;\n}\n\nexport const SKILLS_PREAMBLE = [\n '1. The skill is present in the `path` directory.',\n '2. SKILL.md file within the directory is the primary file, there can be other files as well.',\n '3. Use `description` to judge whether the Agent needs to use a skill.',\n '4. To use a skill:',\n '4.a. If the `SKILL.md content` is inlined, the Agent must not read `path/SKILL.md`.',\n '4.b. Otherwise the Agent must read `path/SKILL.md` first.',\n '5. The Agent must avoid listing the `path` unless there are references in `SKILL.md` and there is reason to do so given the current conversation.',\n].join('\\n');\n\n// The <skill> block body: inline preloaded SKILL.md when present, else advertise path/name/description.\nexport function renderSkillPromptBody(params: {\n path: string;\n name: string;\n description: string;\n preloadContent: string | null;\n}): string {\n return params.preloadContent\n ? `path: ${params.path}\\nSKILL.md content:\\n${params.preloadContent}`\n : `path: ${params.path}\\nname: ${params.name}\\ndescription: ${params.description}`;\n}\n"],"mappings":";AAGO,SAAS,aAAa,QAA0D;AACrF,SAAO,GAAG,OAAO,UAAU,QAAQ,QAAQ,EAAE,CAAC,IAAI,OAAO,SAAS;AACpE;AAEO,IAAM,kBAAkB;AAAA,EAC7B;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,EAAE,KAAK,IAAI;AAGJ,SAAS,sBAAsB,QAK3B;AACT,SAAO,OAAO,iBACV,SAAS,OAAO,IAAI;AAAA;AAAA,EAAwB,OAAO,cAAc,KACjE,SAAS,OAAO,IAAI;AAAA,QAAW,OAAO,IAAI;AAAA,eAAkB,OAAO,WAAW;AACpF;","names":[]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { SKILLS_PREAMBLE, getSkillPath, renderSkillPromptBody } from './constants';
|
|
2
2
|
export type { ISkillMounter } from './ISkillMounter';
|
|
3
3
|
export { SkillMounter } from './SkillMounter';
|
|
4
4
|
export type { GitSkill } from './SkillMounter';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/core/sandbox/skills/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/core/sandbox/skills/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,YAAY,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AACnF,YAAY,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,YAAY,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC"}
|
|
@@ -20,7 +20,6 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
20
20
|
// src/core/sandbox/skills/index.ts
|
|
21
21
|
var skills_exports = {};
|
|
22
22
|
__export(skills_exports, {
|
|
23
|
-
SKILLS_DIR: () => import_constants.SKILLS_DIR,
|
|
24
23
|
SKILLS_PREAMBLE: () => import_constants.SKILLS_PREAMBLE,
|
|
25
24
|
SkillMounter: () => import_SkillMounter.SkillMounter,
|
|
26
25
|
getSkillPath: () => import_constants.getSkillPath,
|
|
@@ -31,7 +30,6 @@ var import_constants = require("./constants.js");
|
|
|
31
30
|
var import_SkillMounter = require("./SkillMounter.js");
|
|
32
31
|
// Annotate the CommonJS export names for ESM import in node:
|
|
33
32
|
0 && (module.exports = {
|
|
34
|
-
SKILLS_DIR,
|
|
35
33
|
SKILLS_PREAMBLE,
|
|
36
34
|
SkillMounter,
|
|
37
35
|
getSkillPath,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/core/sandbox/skills/index.ts"],"sourcesContent":["export {
|
|
1
|
+
{"version":3,"sources":["../../../../src/core/sandbox/skills/index.ts"],"sourcesContent":["export { SKILLS_PREAMBLE, getSkillPath, renderSkillPromptBody } from './constants';\nexport type { ISkillMounter } from './ISkillMounter';\nexport { SkillMounter } from './SkillMounter';\nexport type { GitSkill } from './SkillMounter';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,uBAAqE;AAErE,0BAA6B;","names":[]}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
// src/core/sandbox/skills/index.ts
|
|
2
|
-
import {
|
|
2
|
+
import { SKILLS_PREAMBLE, getSkillPath, renderSkillPromptBody } from "./constants.mjs";
|
|
3
3
|
import { SkillMounter } from "./SkillMounter.mjs";
|
|
4
4
|
export {
|
|
5
|
-
SKILLS_DIR,
|
|
6
5
|
SKILLS_PREAMBLE,
|
|
7
6
|
SkillMounter,
|
|
8
7
|
getSkillPath,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/core/sandbox/skills/index.ts"],"sourcesContent":["export {
|
|
1
|
+
{"version":3,"sources":["../../../../src/core/sandbox/skills/index.ts"],"sourcesContent":["export { SKILLS_PREAMBLE, getSkillPath, renderSkillPromptBody } from './constants';\nexport type { ISkillMounter } from './ISkillMounter';\nexport { SkillMounter } from './SkillMounter';\nexport type { GitSkill } from './SkillMounter';\n"],"mappings":";AAAA,SAAS,iBAAiB,cAAc,6BAA6B;AAErE,SAAS,oBAAoB;","names":[]}
|