@agentic-kit/pi 0.8.7 → 0.8.8
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.
|
@@ -2,16 +2,16 @@ import { writeFile } from 'node:fs/promises';
|
|
|
2
2
|
import { readFile } from 'node:fs/promises';
|
|
3
3
|
import path from 'node:path';
|
|
4
4
|
import { z } from 'zod';
|
|
5
|
-
import { getHost } from '../host';
|
|
6
|
-
import { toolSchema } from '../tool-schema';
|
|
7
5
|
import { prewarmAppWorkspace } from '../app-workspace';
|
|
8
6
|
import { probeDatabase } from '../db-probe';
|
|
7
|
+
import { getHost } from '../host';
|
|
9
8
|
import { createDatabaseProvision } from '../provision-database/create-database-provision';
|
|
10
9
|
import { selectProvisionCredential } from '../provision-database/credential';
|
|
11
10
|
import { archiveBindingKeys, ARCHIVED_BINDING_KEYS, mergeEnv, provisionEnvVars, } from '../provision-database/env-file';
|
|
12
11
|
import { loadProvisionManifest } from '../provision-database/manifest';
|
|
13
12
|
import { applySqlFixups } from '../provision-database/pg-fixups';
|
|
14
13
|
import { resolveProvisionModules } from '../provision-database/resolve';
|
|
14
|
+
import { toolSchema } from '../tool-schema';
|
|
15
15
|
const DEFAULT_API_ENDPOINT = 'http://api.localhost:3000/graphql';
|
|
16
16
|
const DEFAULT_MODULES_ENDPOINT = 'http://modules.localhost:3000/graphql';
|
|
17
17
|
// The per-DB endpoints are subdomain.<domain>; the provisioning domain is the api
|
package/esm/tools/run-codegen.js
CHANGED
|
@@ -2,11 +2,11 @@ import { existsSync } from 'node:fs';
|
|
|
2
2
|
import { readFile, rm, writeFile } from 'node:fs/promises';
|
|
3
3
|
import path from 'node:path';
|
|
4
4
|
import { z } from 'zod';
|
|
5
|
-
import { getHost } from '../host';
|
|
6
|
-
import { toolSchema } from '../tool-schema';
|
|
7
5
|
import { ensureAppScaffold, ensureWorkspaceConfig, IGNORED_BUILDS_RE, pinCodegenLatest, prewarmAppWorkspace, run, } from '../app-workspace';
|
|
6
|
+
import { getHost } from '../host';
|
|
8
7
|
import { normalizeSdkBarrels } from '../run-codegen/barrels';
|
|
9
8
|
import { codegenEndpointEnv, derivePlaneEndpoints, envLocalContent } from '../run-codegen/endpoints';
|
|
9
|
+
import { toolSchema } from '../tool-schema';
|
|
10
10
|
const DEFAULT_API_ENDPOINT = 'http://api.localhost:3000/graphql';
|
|
11
11
|
const RunCodegenZod = z.object({});
|
|
12
12
|
const RunCodegenSchema = toolSchema(RunCodegenZod);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agentic-kit/pi",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.8",
|
|
4
4
|
"author": "Dan Lynch <pyramation@gmail.com>",
|
|
5
5
|
"description": "Pi adapter for agentic-kit — the Constructive typed db tools (provision, blueprint, codegen, records, policies, templates) and confirm gate as a pi coding-agent extension",
|
|
6
6
|
"main": "index.js",
|
|
@@ -29,10 +29,10 @@
|
|
|
29
29
|
"test:watch": "jest --watch"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@agentic-kit/harness": "^0.8.
|
|
33
|
-
"@constructive-io/graphql-query": "^4.11.
|
|
34
|
-
"@constructive-io/sdk": "^1.10.
|
|
35
|
-
"node-type-registry": "^1.13.
|
|
32
|
+
"@agentic-kit/harness": "^0.8.3",
|
|
33
|
+
"@constructive-io/graphql-query": "^4.11.8",
|
|
34
|
+
"@constructive-io/sdk": "^1.10.8",
|
|
35
|
+
"node-type-registry": "^1.13.4",
|
|
36
36
|
"zod": "^4.4.3"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"coding-agent",
|
|
49
49
|
"constructive"
|
|
50
50
|
],
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "c20b6be96b39bf71c0e2df0f4b51e05deacd006b"
|
|
52
52
|
}
|
|
@@ -8,16 +8,16 @@ const promises_1 = require("node:fs/promises");
|
|
|
8
8
|
const promises_2 = require("node:fs/promises");
|
|
9
9
|
const node_path_1 = __importDefault(require("node:path"));
|
|
10
10
|
const zod_1 = require("zod");
|
|
11
|
-
const host_1 = require("../host");
|
|
12
|
-
const tool_schema_1 = require("../tool-schema");
|
|
13
11
|
const app_workspace_1 = require("../app-workspace");
|
|
14
12
|
const db_probe_1 = require("../db-probe");
|
|
13
|
+
const host_1 = require("../host");
|
|
15
14
|
const create_database_provision_1 = require("../provision-database/create-database-provision");
|
|
16
15
|
const credential_1 = require("../provision-database/credential");
|
|
17
16
|
const env_file_1 = require("../provision-database/env-file");
|
|
18
17
|
const manifest_1 = require("../provision-database/manifest");
|
|
19
18
|
const pg_fixups_1 = require("../provision-database/pg-fixups");
|
|
20
19
|
const resolve_1 = require("../provision-database/resolve");
|
|
20
|
+
const tool_schema_1 = require("../tool-schema");
|
|
21
21
|
const DEFAULT_API_ENDPOINT = 'http://api.localhost:3000/graphql';
|
|
22
22
|
const DEFAULT_MODULES_ENDPOINT = 'http://modules.localhost:3000/graphql';
|
|
23
23
|
// The per-DB endpoints are subdomain.<domain>; the provisioning domain is the api
|
package/tools/run-codegen.js
CHANGED
|
@@ -8,12 +8,12 @@ const node_fs_1 = require("node:fs");
|
|
|
8
8
|
const promises_1 = require("node:fs/promises");
|
|
9
9
|
const node_path_1 = __importDefault(require("node:path"));
|
|
10
10
|
const zod_1 = require("zod");
|
|
11
|
-
const host_1 = require("../host");
|
|
12
|
-
const tool_schema_1 = require("../tool-schema");
|
|
13
11
|
const app_workspace_1 = require("../app-workspace");
|
|
14
12
|
Object.defineProperty(exports, "prewarmAppWorkspace", { enumerable: true, get: function () { return app_workspace_1.prewarmAppWorkspace; } });
|
|
13
|
+
const host_1 = require("../host");
|
|
15
14
|
const barrels_1 = require("../run-codegen/barrels");
|
|
16
15
|
const endpoints_1 = require("../run-codegen/endpoints");
|
|
16
|
+
const tool_schema_1 = require("../tool-schema");
|
|
17
17
|
const DEFAULT_API_ENDPOINT = 'http://api.localhost:3000/graphql';
|
|
18
18
|
const RunCodegenZod = zod_1.z.object({});
|
|
19
19
|
const RunCodegenSchema = (0, tool_schema_1.toolSchema)(RunCodegenZod);
|