tsci-agent 0.1.0 → 0.1.1
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/README.md +21 -0
- package/dist/cli.d.ts +2 -0
- package/dist/cli.js +50 -28
- package/dist/diagnostics.d.ts +4 -0
- package/dist/do-command.d.ts +21 -0
- package/dist/interactive.d.ts +1 -0
- package/dist/lib.d.ts +41 -0
- package/dist/lib.js +280061 -0
- package/dist/model.d.ts +2 -0
- package/dist/paths.d.ts +5 -0
- package/dist/pi-sdk-options.d.ts +21 -0
- package/dist/render-events.d.ts +2 -0
- package/dist/usage.d.ts +1 -0
- package/package.json +8 -2
package/dist/model.d.ts
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { ModelRegistry } from "@earendil-works/pi-coding-agent";
|
|
2
|
+
export declare function resolveRequestedModel(modelRegistry: ModelRegistry, provider: string | undefined, modelArg: string | undefined): import("@earendil-works/pi-ai").Model<import("@earendil-works/pi-ai").Api> | undefined;
|
package/dist/paths.d.ts
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare function exists(path: string, mode?: number): Promise<boolean>;
|
|
2
|
+
export declare function candidatePackageRoots(): string[];
|
|
3
|
+
export declare function findPackageVersion(): Promise<string>;
|
|
4
|
+
export declare function findTscircuitSkill(): Promise<string>;
|
|
5
|
+
export declare function resolveCliPaths(cwd: string, paths: string[] | undefined): string[];
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { AuthStorage, type Args } from "@earendil-works/pi-coding-agent";
|
|
2
|
+
export declare function createAuthStorage(parsed: Args): AuthStorage;
|
|
3
|
+
export declare function createResourceLoaderOptions(cwd: string, parsed: Args, skillPath: string): {
|
|
4
|
+
additionalSkillPaths: string[];
|
|
5
|
+
additionalExtensionPaths: string[];
|
|
6
|
+
additionalPromptTemplatePaths: string[];
|
|
7
|
+
additionalThemePaths: string[];
|
|
8
|
+
noExtensions: boolean;
|
|
9
|
+
noSkills: boolean;
|
|
10
|
+
noPromptTemplates: boolean | undefined;
|
|
11
|
+
noThemes: boolean | undefined;
|
|
12
|
+
noContextFiles: boolean | undefined;
|
|
13
|
+
systemPrompt: string | undefined;
|
|
14
|
+
appendSystemPrompt: string[] | undefined;
|
|
15
|
+
};
|
|
16
|
+
export declare function createSessionOptionOverrides(parsed: Args): {
|
|
17
|
+
thinkingLevel: import("@earendil-works/pi-agent-core").ThinkingLevel | undefined;
|
|
18
|
+
tools: string[] | undefined;
|
|
19
|
+
excludeTools: string[] | undefined;
|
|
20
|
+
noTools: "all" | "builtin" | undefined;
|
|
21
|
+
};
|
package/dist/usage.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function usage(): string;
|
package/package.json
CHANGED
|
@@ -1,18 +1,24 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tsci-agent",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "An interactive coding agent and command line utility for coding tscircuit TSX circuits",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
7
7
|
"tsci-agent": "dist/cli.js"
|
|
8
8
|
},
|
|
9
|
+
"exports": {
|
|
10
|
+
"./lib": {
|
|
11
|
+
"types": "./dist/lib.d.ts",
|
|
12
|
+
"import": "./dist/lib.js"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
9
15
|
"files": [
|
|
10
16
|
"dist",
|
|
11
17
|
"README.md"
|
|
12
18
|
],
|
|
13
19
|
"scripts": {
|
|
14
20
|
"dev": "bun run src/cli.ts",
|
|
15
|
-
"bundle": "bun build src/cli.ts --target bun --
|
|
21
|
+
"bundle": "bun build src/cli.ts src/lib.ts --target bun --outdir dist && tsc --project tsconfig.types.json && bun run scripts/copy-skill.ts && bun run scripts/make-executable.ts",
|
|
16
22
|
"build": "bun run bundle",
|
|
17
23
|
"typecheck": "tsc --noEmit",
|
|
18
24
|
"test": "bun test",
|