@pikku/addon-ollama 0.1.2 → 0.1.3
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/.pikku/addon/pikku-addon-types.gen.ts +1 -1
- package/.pikku/addon/pikku-package.gen.ts +1 -1
- package/.pikku/agent/pikku-agent-map.gen.d.ts +1 -1
- package/.pikku/agent/pikku-agent-types.gen.ts +4 -2
- package/.pikku/channel/pikku-channel-types.gen.ts +1 -1
- package/.pikku/console/pikku-addon-meta.gen.json +4 -1
- package/.pikku/console/pikku-node-types.gen.ts +1 -1
- package/.pikku/function/pikku-function-types.gen.ts +117 -74
- package/.pikku/function/pikku-functions-meta-verbose.gen.json +8 -0
- package/.pikku/function/pikku-functions-meta.gen.json +28 -4
- package/.pikku/function/pikku-functions-meta.gen.ts +1 -1
- package/.pikku/function/pikku-functions.gen.ts +1 -1
- package/.pikku/http/pikku-http-types.gen.ts +3 -31
- package/.pikku/mcp/pikku-mcp-types.gen.ts +1 -1
- package/.pikku/pikku-bootstrap-scenarios.gen.ts +9 -0
- package/.pikku/pikku-bootstrap.gen.ts +1 -1
- package/.pikku/pikku-meta-service.gen.ts +1 -1
- package/.pikku/pikku-services.gen.ts +6 -1
- package/.pikku/pikku-types.gen.ts +4 -1
- package/.pikku/queue/pikku-queue-types.gen.ts +1 -1
- package/.pikku/rpc/pikku-rpc-wirings-map.gen.d.ts +1 -1
- package/.pikku/rpc/pikku-rpc-wirings-map.internal.gen.d.ts +1 -1
- package/.pikku/rpc/pikku-rpc-wirings-map.remote.gen.d.ts +207 -0
- package/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.ts +1 -1
- package/.pikku/scenarios/features.gen.json +1 -0
- package/.pikku/scenarios/pikku-scenario-functions-meta.gen.json +1 -0
- package/.pikku/scenarios/pikku-scenario-functions-meta.gen.ts +12 -0
- package/.pikku/scenarios/pikku-scenario-functions.gen.ts +4 -0
- package/.pikku/scenarios/pikku-scenario-wirings-meta.gen.ts +15 -0
- package/.pikku/scenarios/pikku-scenario-wirings.gen.ts +4 -0
- package/.pikku/scenarios/schemas/register.gen.ts +4 -0
- package/.pikku/scheduler/pikku-scheduler-types.gen.ts +1 -1
- package/.pikku/schemas/register.gen.ts +1 -1
- package/.pikku/scopes/pikku-personas-meta.gen.json +1 -0
- package/.pikku/scopes/pikku-personas.gen.ts +52 -0
- package/.pikku/scopes/pikku-roles-meta.gen.json +1 -0
- package/.pikku/scopes/pikku-roles.gen.ts +41 -0
- package/.pikku/scopes/pikku-scope-types.gen.ts +7 -0
- package/.pikku/scopes/pikku-scopes-meta.gen.json +1 -0
- package/.pikku/scopes/pikku-scopes.gen.ts +58 -0
- package/.pikku/secrets/pikku-secret-types.gen.ts +2 -2
- package/.pikku/secrets/pikku-secrets.gen.ts +14 -1
- package/.pikku/trigger/pikku-trigger-types.gen.ts +1 -1
- package/.pikku/variables/pikku-variable-types.gen.ts +2 -2
- package/.pikku/variables/pikku-variables.gen.ts +17 -4
- package/.pikku/workflow/personas.gen.json +1 -0
- package/.pikku/workflow/pikku-personas.gen.ts +38 -0
- package/.pikku/workflow/pikku-scenario-step-map.gen.d.ts +18 -0
- package/.pikku/workflow/pikku-workflow-map.gen.d.ts +1 -1
- package/.pikku/workflow/pikku-workflow-types.gen.ts +429 -5
- package/.pikku/workflow/pikku-workflow-wirings-meta.gen.ts +3 -3
- package/.pikku/workflow/pikku-workflow-wirings.gen.ts +1 -1
- package/dist/.pikku/addon/pikku-addon-types.gen.d.ts +1 -1
- package/dist/.pikku/addon/pikku-addon-types.gen.js +1 -1
- package/dist/.pikku/addon/pikku-addon-types.gen.ts +1 -1
- package/dist/.pikku/addon/pikku-package.gen.js +1 -1
- package/dist/.pikku/addon/pikku-package.gen.ts +1 -1
- package/dist/.pikku/agent/pikku-agent-map.gen.d.ts +1 -1
- package/dist/.pikku/agent/pikku-agent-types.gen.d.ts +4 -2
- package/dist/.pikku/agent/pikku-agent-types.gen.d.ts.map +1 -1
- package/dist/.pikku/agent/pikku-agent-types.gen.js.map +1 -1
- package/dist/.pikku/agent/pikku-agent-types.gen.ts +4 -2
- package/dist/.pikku/channel/pikku-channel-types.gen.d.ts +1 -1
- package/dist/.pikku/channel/pikku-channel-types.gen.js +1 -1
- package/dist/.pikku/channel/pikku-channel-types.gen.ts +1 -1
- package/dist/.pikku/console/pikku-addon-meta.gen.json +4 -1
- package/dist/.pikku/console/pikku-node-types.gen.d.ts +1 -1
- package/dist/.pikku/console/pikku-node-types.gen.ts +1 -1
- package/dist/.pikku/function/pikku-function-types.gen.d.ts +77 -61
- package/dist/.pikku/function/pikku-function-types.gen.d.ts.map +1 -1
- package/dist/.pikku/function/pikku-function-types.gen.js +29 -12
- package/dist/.pikku/function/pikku-function-types.gen.js.map +1 -1
- package/dist/.pikku/function/pikku-function-types.gen.ts +117 -74
- package/dist/.pikku/function/pikku-functions-meta-verbose.gen.json +8 -0
- package/dist/.pikku/function/pikku-functions-meta.gen.js +1 -1
- package/dist/.pikku/function/pikku-functions-meta.gen.json +28 -4
- package/dist/.pikku/function/pikku-functions-meta.gen.ts +1 -1
- package/dist/.pikku/function/pikku-functions.gen.js +1 -1
- package/dist/.pikku/function/pikku-functions.gen.ts +1 -1
- package/dist/.pikku/http/pikku-http-types.gen.d.ts +2 -24
- package/dist/.pikku/http/pikku-http-types.gen.d.ts.map +1 -1
- package/dist/.pikku/http/pikku-http-types.gen.js +2 -24
- package/dist/.pikku/http/pikku-http-types.gen.js.map +1 -1
- package/dist/.pikku/http/pikku-http-types.gen.ts +3 -31
- package/dist/.pikku/mcp/pikku-mcp-types.gen.d.ts +1 -1
- package/dist/.pikku/mcp/pikku-mcp-types.gen.js +1 -1
- package/dist/.pikku/mcp/pikku-mcp-types.gen.ts +1 -1
- package/dist/.pikku/pikku-bootstrap-scenarios.gen.d.ts +10 -0
- package/dist/.pikku/pikku-bootstrap-scenarios.gen.d.ts.map +1 -0
- package/dist/.pikku/pikku-bootstrap-scenarios.gen.js +10 -0
- package/dist/.pikku/pikku-bootstrap-scenarios.gen.js.map +1 -0
- package/dist/.pikku/pikku-bootstrap-scenarios.gen.ts +9 -0
- package/dist/.pikku/pikku-bootstrap.gen.d.ts +1 -1
- package/dist/.pikku/pikku-bootstrap.gen.js +1 -1
- package/dist/.pikku/pikku-bootstrap.gen.ts +1 -1
- package/dist/.pikku/pikku-meta-service.gen.d.ts +1 -1
- package/dist/.pikku/pikku-meta-service.gen.js +1 -1
- package/dist/.pikku/pikku-meta-service.gen.ts +1 -1
- package/dist/.pikku/pikku-services.gen.d.ts +6 -1
- package/dist/.pikku/pikku-services.gen.d.ts.map +1 -1
- package/dist/.pikku/pikku-services.gen.js +5 -0
- package/dist/.pikku/pikku-services.gen.js.map +1 -1
- package/dist/.pikku/pikku-services.gen.ts +6 -1
- package/dist/.pikku/pikku-types.gen.d.ts +2 -1
- package/dist/.pikku/pikku-types.gen.d.ts.map +1 -1
- package/dist/.pikku/pikku-types.gen.js +3 -1
- package/dist/.pikku/pikku-types.gen.js.map +1 -1
- package/dist/.pikku/pikku-types.gen.ts +4 -1
- package/dist/.pikku/queue/pikku-queue-types.gen.d.ts +1 -1
- package/dist/.pikku/queue/pikku-queue-types.gen.js +1 -1
- package/dist/.pikku/queue/pikku-queue-types.gen.ts +1 -1
- package/dist/.pikku/rpc/pikku-rpc-wirings-map.gen.d.ts +1 -1
- package/dist/.pikku/rpc/pikku-rpc-wirings-map.internal.gen.d.ts +1 -1
- package/dist/.pikku/rpc/pikku-rpc-wirings-map.remote.gen.d.ts +207 -0
- package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.js +1 -1
- package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.ts +1 -1
- package/dist/.pikku/scenarios/features.gen.json +1 -0
- package/dist/.pikku/scenarios/pikku-scenario-functions-meta.gen.d.ts +2 -0
- package/dist/.pikku/scenarios/pikku-scenario-functions-meta.gen.d.ts.map +1 -0
- package/dist/.pikku/scenarios/pikku-scenario-functions-meta.gen.js +11 -0
- package/dist/.pikku/scenarios/pikku-scenario-functions-meta.gen.js.map +1 -0
- package/dist/.pikku/scenarios/pikku-scenario-functions-meta.gen.json +1 -0
- package/dist/.pikku/scenarios/pikku-scenario-functions-meta.gen.ts +12 -0
- package/dist/.pikku/scenarios/pikku-scenario-functions.gen.d.ts +5 -0
- package/dist/.pikku/scenarios/pikku-scenario-functions.gen.d.ts.map +1 -0
- package/dist/.pikku/scenarios/pikku-scenario-functions.gen.js +2 -0
- package/dist/.pikku/scenarios/pikku-scenario-functions.gen.js.map +1 -0
- package/dist/.pikku/scenarios/pikku-scenario-functions.gen.ts +4 -0
- package/dist/.pikku/scenarios/pikku-scenario-wirings-meta.gen.d.ts +2 -0
- package/dist/.pikku/scenarios/pikku-scenario-wirings-meta.gen.d.ts.map +1 -0
- package/dist/.pikku/scenarios/pikku-scenario-wirings-meta.gen.js +11 -0
- package/dist/.pikku/scenarios/pikku-scenario-wirings-meta.gen.js.map +1 -0
- package/dist/.pikku/scenarios/pikku-scenario-wirings-meta.gen.ts +15 -0
- package/dist/.pikku/scenarios/pikku-scenario-wirings.gen.d.ts +5 -0
- package/dist/.pikku/scenarios/pikku-scenario-wirings.gen.d.ts.map +1 -0
- package/dist/.pikku/scenarios/pikku-scenario-wirings.gen.js +2 -0
- package/dist/.pikku/scenarios/pikku-scenario-wirings.gen.js.map +1 -0
- package/dist/.pikku/scenarios/pikku-scenario-wirings.gen.ts +4 -0
- package/dist/.pikku/scenarios/schemas/register.gen.d.ts +5 -0
- package/dist/.pikku/scenarios/schemas/register.gen.d.ts.map +1 -0
- package/dist/.pikku/scenarios/schemas/register.gen.js +5 -0
- package/dist/.pikku/scenarios/schemas/register.gen.js.map +1 -0
- package/dist/.pikku/scenarios/schemas/register.gen.ts +4 -0
- package/dist/.pikku/scheduler/pikku-scheduler-types.gen.d.ts +1 -1
- package/dist/.pikku/scheduler/pikku-scheduler-types.gen.js +1 -1
- package/dist/.pikku/scheduler/pikku-scheduler-types.gen.ts +1 -1
- package/dist/.pikku/schemas/register.gen.js +1 -1
- package/dist/.pikku/schemas/register.gen.ts +1 -1
- package/dist/.pikku/scopes/pikku-personas-meta.gen.json +1 -0
- package/dist/.pikku/scopes/pikku-personas.gen.d.ts +37 -0
- package/dist/.pikku/scopes/pikku-personas.gen.d.ts.map +1 -0
- package/dist/.pikku/scopes/pikku-personas.gen.js +18 -0
- package/dist/.pikku/scopes/pikku-personas.gen.js.map +1 -0
- package/dist/.pikku/scopes/pikku-personas.gen.ts +52 -0
- package/dist/.pikku/scopes/pikku-roles-meta.gen.json +1 -0
- package/dist/.pikku/scopes/pikku-roles.gen.d.ts +31 -0
- package/dist/.pikku/scopes/pikku-roles.gen.d.ts.map +1 -0
- package/dist/.pikku/scopes/pikku-roles.gen.js +19 -0
- package/dist/.pikku/scopes/pikku-roles.gen.js.map +1 -0
- package/dist/.pikku/scopes/pikku-roles.gen.ts +41 -0
- package/dist/.pikku/scopes/pikku-scope-types.gen.d.ts +8 -0
- package/dist/.pikku/scopes/pikku-scope-types.gen.d.ts.map +1 -0
- package/dist/.pikku/scopes/pikku-scope-types.gen.js +6 -0
- package/dist/.pikku/scopes/pikku-scope-types.gen.js.map +1 -0
- package/dist/.pikku/scopes/pikku-scope-types.gen.ts +7 -0
- package/dist/.pikku/scopes/pikku-scopes-meta.gen.json +1 -0
- package/dist/.pikku/scopes/pikku-scopes.gen.d.ts +36 -0
- package/dist/.pikku/scopes/pikku-scopes.gen.d.ts.map +1 -0
- package/dist/.pikku/scopes/pikku-scopes.gen.js +28 -0
- package/dist/.pikku/scopes/pikku-scopes.gen.js.map +1 -0
- package/dist/.pikku/scopes/pikku-scopes.gen.ts +58 -0
- package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts +2 -2
- package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts.map +1 -1
- package/dist/.pikku/secrets/pikku-secret-types.gen.js +2 -2
- package/dist/.pikku/secrets/pikku-secret-types.gen.js.map +1 -1
- package/dist/.pikku/secrets/pikku-secret-types.gen.ts +2 -2
- package/dist/.pikku/secrets/pikku-secrets.gen.d.ts +11 -1
- package/dist/.pikku/secrets/pikku-secrets.gen.d.ts.map +1 -1
- package/dist/.pikku/secrets/pikku-secrets.gen.js +11 -1
- package/dist/.pikku/secrets/pikku-secrets.gen.js.map +1 -1
- package/dist/.pikku/secrets/pikku-secrets.gen.ts +14 -1
- package/dist/.pikku/trigger/pikku-trigger-types.gen.d.ts +1 -1
- package/dist/.pikku/trigger/pikku-trigger-types.gen.js +1 -1
- package/dist/.pikku/trigger/pikku-trigger-types.gen.ts +1 -1
- package/dist/.pikku/variables/pikku-variable-types.gen.d.ts +2 -2
- package/dist/.pikku/variables/pikku-variable-types.gen.d.ts.map +1 -1
- package/dist/.pikku/variables/pikku-variable-types.gen.js +2 -2
- package/dist/.pikku/variables/pikku-variable-types.gen.js.map +1 -1
- package/dist/.pikku/variables/pikku-variable-types.gen.ts +2 -2
- package/dist/.pikku/variables/pikku-variables.gen.d.ts +11 -1
- package/dist/.pikku/variables/pikku-variables.gen.d.ts.map +1 -1
- package/dist/.pikku/variables/pikku-variables.gen.js +14 -4
- package/dist/.pikku/variables/pikku-variables.gen.js.map +1 -1
- package/dist/.pikku/variables/pikku-variables.gen.ts +17 -4
- package/dist/.pikku/workflow/personas.gen.json +1 -0
- package/dist/.pikku/workflow/pikku-personas.gen.d.ts +16 -0
- package/dist/.pikku/workflow/pikku-personas.gen.d.ts.map +1 -0
- package/dist/.pikku/workflow/pikku-personas.gen.js +18 -0
- package/dist/.pikku/workflow/pikku-personas.gen.js.map +1 -0
- package/dist/.pikku/workflow/pikku-personas.gen.ts +38 -0
- package/dist/.pikku/workflow/pikku-scenario-step-map.gen.d.ts +18 -0
- package/dist/.pikku/workflow/pikku-workflow-map.gen.d.ts +1 -1
- package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts +254 -5
- package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts.map +1 -1
- package/dist/.pikku/workflow/pikku-workflow-types.gen.js +62 -1
- package/dist/.pikku/workflow/pikku-workflow-types.gen.js.map +1 -1
- package/dist/.pikku/workflow/pikku-workflow-types.gen.ts +429 -5
- package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js +1 -1
- package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js.map +1 -1
- package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.ts +3 -3
- package/dist/.pikku/workflow/pikku-workflow-wirings.gen.d.ts +1 -1
- package/dist/.pikku/workflow/pikku-workflow-wirings.gen.js +1 -1
- package/dist/.pikku/workflow/pikku-workflow-wirings.gen.ts +1 -1
- package/dist/src/functions/embeddings/embed-many.function.d.ts +2 -2
- package/dist/src/functions/embeddings/embed-many.function.d.ts.map +1 -1
- package/dist/src/functions/embeddings/embed.function.d.ts +2 -2
- package/dist/src/functions/embeddings/embed.function.d.ts.map +1 -1
- package/dist/src/functions/text/generate-object.function.d.ts +6 -6
- package/dist/src/functions/text/generate-object.function.d.ts.map +1 -1
- package/dist/src/functions/text/generate.function.d.ts +2 -2
- package/dist/src/functions/text/generate.function.d.ts.map +1 -1
- package/dist/src/ollama.variable.js +2 -2
- package/dist/src/ollama.variable.js.map +1 -1
- package/package.json +4 -4
|
@@ -1,8 +1,18 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file was generated by @pikku/cli@0.12.
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.96
|
|
3
3
|
*/
|
|
4
4
|
import { TypedSecretService as CoreTypedSecretService } from '@pikku/core/services';
|
|
5
5
|
import type { SecretService } from '@pikku/core/services';
|
|
6
|
+
import type { SecretDefinitionsMeta } from '@pikku/core/secret';
|
|
7
|
+
/**
|
|
8
|
+
* Every secret declared in this package.
|
|
9
|
+
*
|
|
10
|
+
* Read from the metadata sidecar rather than inlined, so that the import above
|
|
11
|
+
* forces tsc to emit the .json alongside this file. An addon publishes only its
|
|
12
|
+
* compiled output, and a host reads that .json to discover the addon's declared
|
|
13
|
+
* secrets — an uncopied sidecar leaves them invisible to the host.
|
|
14
|
+
*/
|
|
15
|
+
export declare const SECRETS_META: SecretDefinitionsMeta;
|
|
6
16
|
export interface CredentialsMap {
|
|
7
17
|
}
|
|
8
18
|
export type SecretId = keyof CredentialsMap;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pikku-secrets.gen.d.ts","sourceRoot":"","sources":["../../../.pikku/secrets/pikku-secrets.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,kBAAkB,IAAI,sBAAsB,EAAuB,MAAM,sBAAsB,CAAA;AACxG,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAA;
|
|
1
|
+
{"version":3,"file":"pikku-secrets.gen.d.ts","sourceRoot":"","sources":["../../../.pikku/secrets/pikku-secrets.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,kBAAkB,IAAI,sBAAsB,EAAuB,MAAM,sBAAsB,CAAA;AACxG,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAA;AACzD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAA;AAG/D;;;;;;;GAOG;AACH,eAAO,MAAM,YAAY,EAAE,qBACW,CAAA;AAEtC,MAAM,WAAW,cAAc;CAE9B;AAED,MAAM,MAAM,QAAQ,GAAG,MAAM,cAAc,CAAA;AAM3C,qBAAa,kBAAmB,SAAQ,sBAAsB,CAAC,cAAc,CAAC;gBAChE,OAAO,EAAE,aAAa;CAGnC"}
|
|
@@ -1,7 +1,17 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file was generated by @pikku/cli@0.12.
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.96
|
|
3
3
|
*/
|
|
4
4
|
import { TypedSecretService as CoreTypedSecretService } from '@pikku/core/services';
|
|
5
|
+
import secretsMeta from './pikku-secrets-meta.gen.json' with { type: 'json' };
|
|
6
|
+
/**
|
|
7
|
+
* Every secret declared in this package.
|
|
8
|
+
*
|
|
9
|
+
* Read from the metadata sidecar rather than inlined, so that the import above
|
|
10
|
+
* forces tsc to emit the .json alongside this file. An addon publishes only its
|
|
11
|
+
* compiled output, and a host reads that .json to discover the addon's declared
|
|
12
|
+
* secrets — an uncopied sidecar leaves them invisible to the host.
|
|
13
|
+
*/
|
|
14
|
+
export const SECRETS_META = secretsMeta;
|
|
5
15
|
const CREDENTIALS_META = {};
|
|
6
16
|
export class TypedSecretService extends CoreTypedSecretService {
|
|
7
17
|
constructor(secrets) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pikku-secrets.gen.js","sourceRoot":"","sources":["../../../.pikku/secrets/pikku-secrets.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,kBAAkB,IAAI,sBAAsB,EAAuB,MAAM,sBAAsB,CAAA;
|
|
1
|
+
{"version":3,"file":"pikku-secrets.gen.js","sourceRoot":"","sources":["../../../.pikku/secrets/pikku-secrets.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,kBAAkB,IAAI,sBAAsB,EAAuB,MAAM,sBAAsB,CAAA;AAGxG,OAAO,WAAW,MAAM,+BAA+B,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AAE7E;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,YAAY,GACvB,WAAoC,CAAA;AAQtC,MAAM,gBAAgB,GAAmC,EAExD,CAAA;AAED,MAAM,OAAO,kBAAmB,SAAQ,sBAAsC;IAC5E,YAAY,OAAsB;QAChC,KAAK,CAAC,OAAO,EAAE,gBAAgB,CAAC,CAAA;IAClC,CAAC;CACF"}
|
|
@@ -1,8 +1,21 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file was generated by @pikku/cli@0.12.
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.96
|
|
3
3
|
*/
|
|
4
4
|
import { TypedSecretService as CoreTypedSecretService, type CredentialMeta } from '@pikku/core/services'
|
|
5
5
|
import type { SecretService } from '@pikku/core/services'
|
|
6
|
+
import type { SecretDefinitionsMeta } from '@pikku/core/secret'
|
|
7
|
+
import secretsMeta from './pikku-secrets-meta.gen.json' with { type: 'json' }
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Every secret declared in this package.
|
|
11
|
+
*
|
|
12
|
+
* Read from the metadata sidecar rather than inlined, so that the import above
|
|
13
|
+
* forces tsc to emit the .json alongside this file. An addon publishes only its
|
|
14
|
+
* compiled output, and a host reads that .json to discover the addon's declared
|
|
15
|
+
* secrets — an uncopied sidecar leaves them invisible to the host.
|
|
16
|
+
*/
|
|
17
|
+
export const SECRETS_META: SecretDefinitionsMeta =
|
|
18
|
+
secretsMeta as SecretDefinitionsMeta
|
|
6
19
|
|
|
7
20
|
export interface CredentialsMap {
|
|
8
21
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file was generated by @pikku/cli@0.12.
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.96
|
|
3
3
|
*/
|
|
4
|
-
export {
|
|
4
|
+
export { defineVariable } from '@pikku/core/variable';
|
|
5
5
|
export type { CoreVariable, VariableDefinitionMeta, VariableDefinitionsMeta } from '@pikku/core/variable';
|
|
6
6
|
//# sourceMappingURL=pikku-variable-types.gen.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pikku-variable-types.gen.d.ts","sourceRoot":"","sources":["../../../.pikku/variables/pikku-variable-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"pikku-variable-types.gen.d.ts","sourceRoot":"","sources":["../../../.pikku/variables/pikku-variable-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AACrD,YAAY,EAAE,YAAY,EAAE,sBAAsB,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file was generated by @pikku/cli@0.12.
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.96
|
|
3
3
|
*/
|
|
4
|
-
export {
|
|
4
|
+
export { defineVariable } from '@pikku/core/variable';
|
|
5
5
|
//# sourceMappingURL=pikku-variable-types.gen.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pikku-variable-types.gen.js","sourceRoot":"","sources":["../../../.pikku/variables/pikku-variable-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"pikku-variable-types.gen.js","sourceRoot":"","sources":["../../../.pikku/variables/pikku-variable-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file was generated by @pikku/cli@0.12.
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.96
|
|
3
3
|
*/
|
|
4
|
-
export {
|
|
4
|
+
export { defineVariable } from '@pikku/core/variable'
|
|
5
5
|
export type { CoreVariable, VariableDefinitionMeta, VariableDefinitionsMeta } from '@pikku/core/variable'
|
|
@@ -1,10 +1,20 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file was generated by @pikku/cli@0.12.
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.96
|
|
3
3
|
*/
|
|
4
4
|
import { TypedVariablesService as CoreTypedVariablesService } from '@pikku/core/services';
|
|
5
5
|
import type { VariablesService } from '@pikku/core/services';
|
|
6
|
+
import type { VariableDefinitionsMeta } from '@pikku/core/variable';
|
|
6
7
|
import type { z } from 'zod';
|
|
7
8
|
import { ollamaBaseUrlSchema } from '../../src/ollama.variable.js';
|
|
9
|
+
/**
|
|
10
|
+
* Every variable declared in this package.
|
|
11
|
+
*
|
|
12
|
+
* Read from the metadata sidecar rather than inlined, so that the import above
|
|
13
|
+
* forces tsc to emit the .json alongside this file. An addon publishes only its
|
|
14
|
+
* compiled output, and a host reads that .json to discover the addon's declared
|
|
15
|
+
* variables — an uncopied sidecar leaves them invisible to the host.
|
|
16
|
+
*/
|
|
17
|
+
export declare const VARIABLES_META: VariableDefinitionsMeta;
|
|
8
18
|
export interface VariablesMap {
|
|
9
19
|
'OLLAMA_BASE_URL': z.infer<typeof ollamaBaseUrlSchema>;
|
|
10
20
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pikku-variables.gen.d.ts","sourceRoot":"","sources":["../../../.pikku/variables/pikku-variables.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,qBAAqB,IAAI,yBAAyB,EAAqB,MAAM,sBAAsB,CAAA;AAC5G,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAA;AAC5D,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAC5B,OAAO,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAA;AAElE,MAAM,WAAW,YAAY;IAC3B,iBAAiB,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAA;CACvD;AAED,MAAM,MAAM,UAAU,GAAG,MAAM,YAAY,CAAA;AAM3C,qBAAa,qBAAsB,SAAQ,yBAAyB,CAAC,YAAY,CAAC;gBACpE,SAAS,EAAE,gBAAgB;CAGxC"}
|
|
1
|
+
{"version":3,"file":"pikku-variables.gen.d.ts","sourceRoot":"","sources":["../../../.pikku/variables/pikku-variables.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,qBAAqB,IAAI,yBAAyB,EAAqB,MAAM,sBAAsB,CAAA;AAC5G,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAA;AAC5D,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAA;AAEnE,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAC5B,OAAO,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAA;AAElE;;;;;;;GAOG;AACH,eAAO,MAAM,cAAc,EAAE,uBACa,CAAA;AAE1C,MAAM,WAAW,YAAY;IAC3B,iBAAiB,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAA;CACvD;AAED,MAAM,MAAM,UAAU,GAAG,MAAM,YAAY,CAAA;AAM3C,qBAAa,qBAAsB,SAAQ,yBAAyB,CAAC,YAAY,CAAC;gBACpE,SAAS,EAAE,gBAAgB;CAGxC"}
|
|
@@ -1,13 +1,23 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file was generated by @pikku/cli@0.12.
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.96
|
|
3
3
|
*/
|
|
4
4
|
import { TypedVariablesService as CoreTypedVariablesService } from '@pikku/core/services';
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
import variablesMeta from './pikku-variables-meta.gen.json' with { type: 'json' };
|
|
6
|
+
/**
|
|
7
|
+
* Every variable declared in this package.
|
|
8
|
+
*
|
|
9
|
+
* Read from the metadata sidecar rather than inlined, so that the import above
|
|
10
|
+
* forces tsc to emit the .json alongside this file. An addon publishes only its
|
|
11
|
+
* compiled output, and a host reads that .json to discover the addon's declared
|
|
12
|
+
* variables — an uncopied sidecar leaves them invisible to the host.
|
|
13
|
+
*/
|
|
14
|
+
export const VARIABLES_META = variablesMeta;
|
|
15
|
+
const TYPED_VARIABLES_META = {
|
|
16
|
+
'OLLAMA_BASE_URL': { name: 'ollama_base_url', displayName: "Ollama Base URL" }
|
|
7
17
|
};
|
|
8
18
|
export class TypedVariablesService extends CoreTypedVariablesService {
|
|
9
19
|
constructor(variables) {
|
|
10
|
-
super(variables,
|
|
20
|
+
super(variables, TYPED_VARIABLES_META);
|
|
11
21
|
}
|
|
12
22
|
}
|
|
13
23
|
//# sourceMappingURL=pikku-variables.gen.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pikku-variables.gen.js","sourceRoot":"","sources":["../../../.pikku/variables/pikku-variables.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,qBAAqB,IAAI,yBAAyB,EAAqB,MAAM,sBAAsB,CAAA;
|
|
1
|
+
{"version":3,"file":"pikku-variables.gen.js","sourceRoot":"","sources":["../../../.pikku/variables/pikku-variables.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,qBAAqB,IAAI,yBAAyB,EAAqB,MAAM,sBAAsB,CAAA;AAG5G,OAAO,aAAa,MAAM,iCAAiC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AAIjF;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,cAAc,GACzB,aAAwC,CAAA;AAQ1C,MAAM,oBAAoB,GAAiC;IACzD,iBAAiB,EAAE,EAAE,IAAI,EAAE,iBAAiB,EAAE,WAAW,EAAE,iBAAiB,EAAE;CAC/E,CAAA;AAED,MAAM,OAAO,qBAAsB,SAAQ,yBAAuC;IAChF,YAAY,SAA2B;QACrC,KAAK,CAAC,SAAS,EAAE,oBAAoB,CAAC,CAAA;IACxC,CAAC;CACF"}
|
|
@@ -1,23 +1,36 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file was generated by @pikku/cli@0.12.
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.96
|
|
3
3
|
*/
|
|
4
4
|
import { TypedVariablesService as CoreTypedVariablesService, type VariableMeta } from '@pikku/core/services'
|
|
5
5
|
import type { VariablesService } from '@pikku/core/services'
|
|
6
|
+
import type { VariableDefinitionsMeta } from '@pikku/core/variable'
|
|
7
|
+
import variablesMeta from './pikku-variables-meta.gen.json' with { type: 'json' }
|
|
6
8
|
import type { z } from 'zod'
|
|
7
9
|
import { ollamaBaseUrlSchema } from '../../src/ollama.variable.js'
|
|
8
10
|
|
|
11
|
+
/**
|
|
12
|
+
* Every variable declared in this package.
|
|
13
|
+
*
|
|
14
|
+
* Read from the metadata sidecar rather than inlined, so that the import above
|
|
15
|
+
* forces tsc to emit the .json alongside this file. An addon publishes only its
|
|
16
|
+
* compiled output, and a host reads that .json to discover the addon's declared
|
|
17
|
+
* variables — an uncopied sidecar leaves them invisible to the host.
|
|
18
|
+
*/
|
|
19
|
+
export const VARIABLES_META: VariableDefinitionsMeta =
|
|
20
|
+
variablesMeta as VariableDefinitionsMeta
|
|
21
|
+
|
|
9
22
|
export interface VariablesMap {
|
|
10
23
|
'OLLAMA_BASE_URL': z.infer<typeof ollamaBaseUrlSchema>
|
|
11
24
|
}
|
|
12
25
|
|
|
13
26
|
export type VariableId = keyof VariablesMap
|
|
14
27
|
|
|
15
|
-
const
|
|
16
|
-
'OLLAMA_BASE_URL': { name: 'ollama_base_url', displayName:
|
|
28
|
+
const TYPED_VARIABLES_META: Record<string, VariableMeta> = {
|
|
29
|
+
'OLLAMA_BASE_URL': { name: 'ollama_base_url', displayName: "Ollama Base URL" }
|
|
17
30
|
}
|
|
18
31
|
|
|
19
32
|
export class TypedVariablesService extends CoreTypedVariablesService<VariablesMap> {
|
|
20
33
|
constructor(variables: VariablesService) {
|
|
21
|
-
super(variables,
|
|
34
|
+
super(variables, TYPED_VARIABLES_META)
|
|
22
35
|
}
|
|
23
36
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { HttpPersonasConfig, ScenarioPersona, ResolvedPersona } from '@pikku/core/services';
|
|
2
|
+
import type { AgentMap } from '../agent/pikku-agent-map.gen.d.js';
|
|
3
|
+
import type { FlattenedRPCMap } from '../rpc/pikku-rpc-wirings-map.gen.d.js';
|
|
4
|
+
export declare const personaConfigs: {};
|
|
5
|
+
export type PersonaName = keyof typeof personaConfigs;
|
|
6
|
+
/**
|
|
7
|
+
* The same personas as a list, widened to `ResolvedPersona`. Iterating
|
|
8
|
+
* `personaConfigs` directly yields the literal type of each entry, on which an
|
|
9
|
+
* optional field a persona did not declare does not exist — so a seed reading
|
|
10
|
+
* `roles` off every persona needs this instead.
|
|
11
|
+
*/
|
|
12
|
+
export declare const personaList: ResolvedPersona[];
|
|
13
|
+
export type AgentName = keyof AgentMap & string;
|
|
14
|
+
export type TypedPersonas = Record<PersonaName, ScenarioPersona<AgentName, FlattenedRPCMap>>;
|
|
15
|
+
export declare const createPersonas: (options: Omit<HttpPersonasConfig, "personas">) => TypedPersonas;
|
|
16
|
+
//# sourceMappingURL=pikku-personas.gen.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-personas.gen.d.ts","sourceRoot":"","sources":["../../../.pikku/workflow/pikku-personas.gen.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EACV,kBAAkB,EAClB,eAAe,EACf,eAAe,EAChB,MAAM,sBAAsB,CAAA;AAC7B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mCAAmC,CAAA;AACjE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAA;AAE5E,eAAO,MAAM,cAAc,IAAwD,CAAA;AAEnF,MAAM,MAAM,WAAW,GAAG,MAAM,OAAO,cAAc,CAAA;AAErD;;;;;GAKG;AACH,eAAO,MAAM,WAAW,EAAE,eAAe,EAAkC,CAAA;AAE3E,MAAM,MAAM,SAAS,GAAG,MAAM,QAAQ,GAAG,MAAM,CAAA;AAC/C,MAAM,MAAM,aAAa,GAAG,MAAM,CAChC,WAAW,EACX,eAAe,CAAC,SAAS,EAAE,eAAe,CAAC,CAC5C,CAAA;AAED,eAAO,MAAM,cAAc,GACzB,SAAS,IAAI,CAAC,kBAAkB,EAAE,UAAU,CAAC,KAC5C,aAIkB,CAAA"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.96
|
|
3
|
+
*/
|
|
4
|
+
/** Personas declared with definePersonas() */
|
|
5
|
+
import { createHttpPersonas } from '@pikku/core/persona';
|
|
6
|
+
export const personaConfigs = {};
|
|
7
|
+
/**
|
|
8
|
+
* The same personas as a list, widened to `ResolvedPersona`. Iterating
|
|
9
|
+
* `personaConfigs` directly yields the literal type of each entry, on which an
|
|
10
|
+
* optional field a persona did not declare does not exist — so a seed reading
|
|
11
|
+
* `roles` off every persona needs this instead.
|
|
12
|
+
*/
|
|
13
|
+
export const personaList = Object.values(personaConfigs);
|
|
14
|
+
export const createPersonas = (options) => createHttpPersonas({
|
|
15
|
+
...options,
|
|
16
|
+
personas: personaConfigs,
|
|
17
|
+
});
|
|
18
|
+
//# sourceMappingURL=pikku-personas.gen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-personas.gen.js","sourceRoot":"","sources":["../../../.pikku/workflow/pikku-personas.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,8CAA8C;AAC9C,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAA;AASxD,MAAM,CAAC,MAAM,cAAc,GAAG,EAAqD,CAAA;AAInF;;;;;GAKG;AACH,MAAM,CAAC,MAAM,WAAW,GAAsB,MAAM,CAAC,MAAM,CAAC,cAAc,CAAC,CAAA;AAQ3E,MAAM,CAAC,MAAM,cAAc,GAAG,CAC5B,OAA6C,EAC9B,EAAE,CACjB,kBAAkB,CAAC;IACjB,GAAG,OAAO;IACV,QAAQ,EAAE,cAAc;CACzB,CAAkB,CAAA"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.96
|
|
3
|
+
*/
|
|
4
|
+
/** Personas declared with definePersonas() */
|
|
5
|
+
import { createHttpPersonas } from '@pikku/core/persona'
|
|
6
|
+
import type {
|
|
7
|
+
HttpPersonasConfig,
|
|
8
|
+
ScenarioPersona,
|
|
9
|
+
ResolvedPersona,
|
|
10
|
+
} from '@pikku/core/services'
|
|
11
|
+
import type { AgentMap } from '../agent/pikku-agent-map.gen.d.js'
|
|
12
|
+
import type { FlattenedRPCMap } from '../rpc/pikku-rpc-wirings-map.gen.d.js'
|
|
13
|
+
|
|
14
|
+
export const personaConfigs = {} as const satisfies Record<string, ResolvedPersona>
|
|
15
|
+
|
|
16
|
+
export type PersonaName = keyof typeof personaConfigs
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* The same personas as a list, widened to `ResolvedPersona`. Iterating
|
|
20
|
+
* `personaConfigs` directly yields the literal type of each entry, on which an
|
|
21
|
+
* optional field a persona did not declare does not exist — so a seed reading
|
|
22
|
+
* `roles` off every persona needs this instead.
|
|
23
|
+
*/
|
|
24
|
+
export const personaList: ResolvedPersona[] = Object.values(personaConfigs)
|
|
25
|
+
|
|
26
|
+
export type AgentName = keyof AgentMap & string
|
|
27
|
+
export type TypedPersonas = Record<
|
|
28
|
+
PersonaName,
|
|
29
|
+
ScenarioPersona<AgentName, FlattenedRPCMap>
|
|
30
|
+
>
|
|
31
|
+
|
|
32
|
+
export const createPersonas = (
|
|
33
|
+
options: Omit<HttpPersonasConfig, 'personas'>
|
|
34
|
+
): TypedPersonas =>
|
|
35
|
+
createHttpPersonas({
|
|
36
|
+
...options,
|
|
37
|
+
personas: personaConfigs,
|
|
38
|
+
}) as TypedPersonas
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.96
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Scenario step map: the names `scenario.step/given/when/then` accepts, with
|
|
6
|
+
* the input and output types of each step.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
interface ScenarioStepHandler<I, O> {
|
|
13
|
+
input: I;
|
|
14
|
+
output: O;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export type FlattenedScenarioStepMap = {
|
|
18
|
+
};
|