@makaio/framework 1.0.0-dev-1790348008233 → 1.0.0-dev-1790538920793
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 +2 -2
- package/dist/.makaio-build.json +2 -2
- package/dist/adapter-subsystem/index.d.mts +1 -1
- package/dist/adapters/config/index.d.mts +7 -7
- package/dist/adapters/index.d.mts +16 -19
- package/dist/adapters/node.d.mts +1 -1
- package/dist/artifact-C4J_FDq8.mjs +1 -0
- package/dist/{base-orchestrator-FNFJ6Cwf.d.mts → base-orchestrator-DH6W4NQg.d.mts} +2 -4
- package/dist/bus/index.mjs +1 -1
- package/dist/bus-CgswamdO.mjs +9 -0
- package/dist/{config-namespace-CeTODseW.d.mts → config-namespace-Ctia-VDG.d.mts} +1 -1
- package/dist/contracts/adapter/index.d.mts +2 -2
- package/dist/contracts/adapter/schemas/session-lineage.d.mts +1 -1
- package/dist/contracts/artifact/index.d.mts +3 -3
- package/dist/contracts/artifact/index.mjs +1 -1
- package/dist/contracts/automation-trigger/index.d.mts +1 -1
- package/dist/contracts/capabilities/index.d.mts +1 -1
- package/dist/contracts/client/index.d.mts +2 -2
- package/dist/contracts/config/index.d.mts +1 -1
- package/dist/contracts/extension/index.d.mts +4 -4
- package/dist/contracts/extension/index.mjs +1 -1
- package/dist/contracts/harness/index.d.mts +2 -2
- package/dist/contracts/harness/index.mjs +1 -1
- package/dist/contracts/index.d.mts +30 -30
- package/dist/contracts/index.mjs +1 -1
- package/dist/contracts/materialization/index.d.mts +2 -2
- package/dist/contracts/materialization/index.mjs +1 -1
- package/dist/contracts/native-session-supervisor/index.d.mts +1 -1
- package/dist/contracts/provider/index.d.mts +2 -2
- package/dist/contracts/reaction/index.d.mts +1 -1
- package/dist/contracts/session/index.d.mts +2 -2
- package/dist/contracts/worker/index.d.mts +1 -1
- package/dist/contracts/worker/index.mjs +1 -1
- package/dist/contracts/workflow/index.d.mts +2 -2
- package/dist/contracts/workflow/index.mjs +1 -1
- package/dist/{contribution-kpR61mnG.d.mts → contribution-DTb65rRN.d.mts} +1 -1
- package/dist/{definition-D2SO1tX-.d.mts → definition-Cx175qXh.d.mts} +1 -1
- package/dist/{extension-C6ANjR33.mjs → extension-BOMfXdko.mjs} +1 -1
- package/dist/{extension-context-CmhBCbbq.d.mts → extension-context-DH84KOm9.d.mts} +3 -3
- package/dist/{harness-DBxywOGi.mjs → harness-DMlk3uEj.mjs} +1 -1
- package/dist/{hook-responses-C3nUIm-6.d.mts → hook-responses-OETFKaAL.d.mts} +1 -1
- package/dist/{index-C9Dz8UoK2.d.mts → index-2YW8DTb62.d.mts} +6 -6
- package/dist/{index-D5Lw1UsO.d.mts → index-9NQQkY0Z.d.mts} +3 -3
- package/dist/{index-CRk46fit.d.mts → index-AMzzMjhN.d.mts} +9 -9
- package/dist/{index-oE2q0pTG.d.mts → index-B1uHTa1l.d.mts} +1 -1
- package/dist/{index-HN4m0hiI.d.mts → index-BM8oUon_.d.mts} +16 -16
- package/dist/{index-BMGkU3IM.d.mts → index-BRXETFym.d.mts} +1 -1
- package/dist/{index-DYnahvOm.d.mts → index-BZw3MR6v.d.mts} +19 -1
- package/dist/{index-Ce6-SiB3.d.mts → index-C9vF42jh.d.mts} +1 -1
- package/dist/{index-CydQ1dLS2.d.mts → index-CPOJqxrf2.d.mts} +3 -0
- package/dist/{index-Cuz4nfUz.d.mts → index-CU0AgN84.d.mts} +1 -1
- package/dist/{index-DMBxHEQ_.d.mts → index-CeAkK4Oq.d.mts} +7 -7
- package/dist/{index-D5ihXDAA.d.mts → index-CoD7P-IS.d.mts} +1 -1
- package/dist/{index-CCTrhWEB2.d.mts → index-DIEnLLhi2.d.mts} +5 -5
- package/dist/{index-DifOjlJ5.d.mts → index-DUpW-4X8.d.mts} +5 -5
- package/dist/{index-D5BLD2Pw.d.mts → index-DqN1u0Y2.d.mts} +6 -6
- package/dist/{index-wGlFWRXg.d.mts → index-wQB90bP1.d.mts} +1 -3
- package/dist/{index-wiATEDG_.d.mts → index-xPzwlPjm.d.mts} +374 -290
- package/dist/kernel/extension/index.d.mts +2 -2
- package/dist/kernel/index.d.mts +2 -2
- package/dist/kernel/observability/index.d.mts +1 -1
- package/dist/kind-registration-DdbhhvaT.mjs +1 -0
- package/dist/{materialization-CIrHHspa.mjs → materialization-CxV6fpuB.mjs} +1 -1
- package/dist/{namespace-C5tKjqgb.d.mts → namespace-B9iQN3FQ.d.mts} +4 -4
- package/dist/{namespace-C1-ZAKEG.d.mts → namespace-CNX4llM5.d.mts} +6 -6
- package/dist/{package-BswWlFSn.d.mts → package-BjtsXnaA.d.mts} +1 -0
- package/dist/package.json +1 -1
- package/dist/runtime-node/static/model-registry.yaml +0 -29
- package/dist/{schema-De6d0FWI.d.mts → schema-MdntS6Eu.d.mts} +1 -1
- package/dist/{schemas-rliUGyrt.d.mts → schemas-B2fs9-uF.d.mts} +5 -1
- package/dist/{schemas-CjFPsYeV.d.mts → schemas-BjhhkGN_.d.mts} +4 -4
- package/dist/{schemas-Dyp3rHZ7.d.mts → schemas-D9pXu76T.d.mts} +4 -4
- package/dist/{schemas-DPtj1sPC2.d.mts → schemas-RwAlAMbq2.d.mts} +7 -7
- package/dist/schemas-W3nT06vH.mjs +1 -0
- package/dist/services/adapter-subsystem/index.d.mts +2 -2
- package/dist/services/adapter-subsystem/namespace.d.mts +1 -1
- package/dist/services/context-rules/index.d.mts +3 -3
- package/dist/services/filesystem/namespace.d.mts +12 -12
- package/dist/services/filesystem/schemas.d.mts +6 -6
- package/dist/services/git/namespace.d.mts +4 -4
- package/dist/services/git/schemas.d.mts +3 -3
- package/dist/services/harness/storage/schema.d.mts +1 -1
- package/dist/services/index.d.mts +23 -23
- package/dist/services/log-import/browser.d.mts +1 -1
- package/dist/services/log-import/index.d.mts +1 -1
- package/dist/services/preferences/index.d.mts +2 -2
- package/dist/services/preferences/schemas.d.mts +1 -1
- package/dist/services/preferences/storage-namespace.d.mts +2 -2
- package/dist/services/provider-context/index.d.mts +1 -1
- package/dist/services/session/index.d.mts +4 -4
- package/dist/services/session/messages/namespace.d.mts +1 -1
- package/dist/services/session/storage/schema.d.mts +1 -1
- package/dist/{session-lineage-CmP7L5g2.d.mts → session-lineage-BQ9NWlt6.d.mts} +1 -1
- package/dist/{storage-namespace-CwwiV3kt.d.mts → storage-namespace-NHTWAjaX.d.mts} +10 -10
- package/dist/{transition-B0qsutdE.d.mts → transition-ClMo_PUJ.d.mts} +1 -1
- package/dist/{types-BrsmFcWl.d.mts → types-CG3PWgMt.d.mts} +21 -23
- package/dist/{types-DyBD5MdV2.d.mts → types-CW-4Y0k_2.d.mts} +2 -2
- package/dist/{types-DfbdwLQ6.d.mts → types-DTpwvvY9.d.mts} +3 -3
- package/dist/ui-kernel/index.d.mts +4 -4
- package/dist/ui-kernel/pages/namespace.d.mts +4 -4
- package/dist/ui-kernel/pages/schemas.d.mts +1 -1
- package/dist/{view-builder-Zw-TCgSp.d.mts → view-builder-B8WSU6WT.d.mts} +1 -1
- package/dist/{worker-DyyO9DCO.mjs → worker-zHq43Iyk.mjs} +1 -1
- package/dist/{workflow-B0ZGun4r.mjs → workflow-BFAraH3Y.mjs} +1 -1
- package/dist/workflow-engine/index.d.mts +2 -2
- package/dist/workflow-engine/package.d.mts +1 -1
- package/package.json +1 -1
- package/dist/artifact-eleyznpA.mjs +0 -1
- package/dist/bus-DgpPEPoM.mjs +0 -9
- package/dist/kind-registration-Dzfo6kyb.mjs +0 -1
- package/dist/schemas-CHM0wMq4.mjs +0 -1
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { d as TransitionOutcome } from "../../index-
|
|
2
|
-
import { a as SetEnabledResult, c as ContributionProcessor, d as InstalledExtensionCatalogSource, f as KernelExtensionContext, h as RuntimeEnvironment, i as ExtensionCoordinator, l as ExtensionCoordinatorOptions, m as RuntimeCapability, n as coalesceExtensionOverrides, o as ExtensionConfigResolution, p as KernelMakaioExtension, r as filterEligibleExtensions, s as ExtensionOperatorConfigError, t as resolveInstalledExtensionRecord, u as ExtensionRuntimeSurface } from "../../index-
|
|
1
|
+
import { d as TransitionOutcome } from "../../index-BM8oUon_.mjs";
|
|
2
|
+
import { a as SetEnabledResult, c as ContributionProcessor, d as InstalledExtensionCatalogSource, f as KernelExtensionContext, h as RuntimeEnvironment, i as ExtensionCoordinator, l as ExtensionCoordinatorOptions, m as RuntimeCapability, n as coalesceExtensionOverrides, o as ExtensionConfigResolution, p as KernelMakaioExtension, r as filterEligibleExtensions, s as ExtensionOperatorConfigError, t as resolveInstalledExtensionRecord, u as ExtensionRuntimeSurface } from "../../index-CU0AgN84.mjs";
|
|
3
3
|
export { ContributionProcessor, ExtensionConfigResolution, ExtensionCoordinator, ExtensionCoordinatorOptions, ExtensionOperatorConfigError, ExtensionRuntimeSurface, InstalledExtensionCatalogSource, KernelExtensionContext, KernelMakaioExtension, RuntimeCapability, RuntimeEnvironment, SetEnabledResult, TransitionOutcome, coalesceExtensionOverrides, filterEligibleExtensions, resolveInstalledExtensionRecord };
|
package/dist/kernel/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as ServiceInfoSchema, S as ServiceInfo, _ as ComponentStateSchema, a as InstalledExtensionRecord, c as ExtensionSubjects, d as TransitionOutcome, g as ComponentState, l as SetEnabledReason, m as ComponentInfo, n as InstalledExtensionCatalogEntrySchema, o as InstalledExtensionRecordSchema, r as InstalledExtensionOrigin, s as ExtensionNamespace, t as InstalledExtensionCatalogEntry, v as ExtensionInfo, y as ExtensionInfoSchema } from "../index-
|
|
2
|
-
import { a as SetEnabledResult, c as ContributionProcessor, d as InstalledExtensionCatalogSource, f as KernelExtensionContext, h as RuntimeEnvironment, i as ExtensionCoordinator, m as RuntimeCapability, n as coalesceExtensionOverrides, o as ExtensionConfigResolution, p as KernelMakaioExtension, r as filterEligibleExtensions, s as ExtensionOperatorConfigError, t as resolveInstalledExtensionRecord, u as ExtensionRuntimeSurface } from "../index-
|
|
1
|
+
import { C as ServiceInfoSchema, S as ServiceInfo, _ as ComponentStateSchema, a as InstalledExtensionRecord, c as ExtensionSubjects, d as TransitionOutcome, g as ComponentState, l as SetEnabledReason, m as ComponentInfo, n as InstalledExtensionCatalogEntrySchema, o as InstalledExtensionRecordSchema, r as InstalledExtensionOrigin, s as ExtensionNamespace, t as InstalledExtensionCatalogEntry, v as ExtensionInfo, y as ExtensionInfoSchema } from "../index-BM8oUon_.mjs";
|
|
2
|
+
import { a as SetEnabledResult, c as ContributionProcessor, d as InstalledExtensionCatalogSource, f as KernelExtensionContext, h as RuntimeEnvironment, i as ExtensionCoordinator, m as RuntimeCapability, n as coalesceExtensionOverrides, o as ExtensionConfigResolution, p as KernelMakaioExtension, r as filterEligibleExtensions, s as ExtensionOperatorConfigError, t as resolveInstalledExtensionRecord, u as ExtensionRuntimeSurface } from "../index-CU0AgN84.mjs";
|
|
3
3
|
import { i as WindowStyle, n as WindowRegistration, r as WindowRegistry, t as STYLE_DEFAULTS } from "../window-registry-1jI3f9ir.mjs";
|
|
4
4
|
import { n as KernelSubjects, r as KernelSchemas, t as KernelNamespace } from "../index-62OoZLGr.mjs";
|
|
5
5
|
import { a as MachineIdentity, c as StorageProvider, i as IdentityProvider, n as NoTransportProvider, o as TransportProvider, r as MemoryStorageProvider, s as StorageCleanup, t as EphemeralIdentityProvider } from "../index-_OD_Nz3m.mjs";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as ServiceInfoSchema, S as ServiceInfo, _ as ComponentStateSchema, a as InstalledExtensionRecord, b as ExtensionWarningEntry, c as ExtensionSubjects, d as TransitionOutcome, f as TransitionOutcomeSchema, g as ComponentState, h as ComponentInfoSchema, i as InstalledExtensionOriginSchema, l as SetEnabledReason, m as ComponentInfo, n as InstalledExtensionCatalogEntrySchema, o as InstalledExtensionRecordSchema, p as ComponentIdentitySchema, r as InstalledExtensionOrigin, s as ExtensionNamespace, t as InstalledExtensionCatalogEntry, u as SetEnabledReasonSchema, v as ExtensionInfo, x as ExtensionWarningEntrySchema, y as ExtensionInfoSchema } from "../../index-
|
|
1
|
+
import { C as ServiceInfoSchema, S as ServiceInfo, _ as ComponentStateSchema, a as InstalledExtensionRecord, b as ExtensionWarningEntry, c as ExtensionSubjects, d as TransitionOutcome, f as TransitionOutcomeSchema, g as ComponentState, h as ComponentInfoSchema, i as InstalledExtensionOriginSchema, l as SetEnabledReason, m as ComponentInfo, n as InstalledExtensionCatalogEntrySchema, o as InstalledExtensionRecordSchema, p as ComponentIdentitySchema, r as InstalledExtensionOrigin, s as ExtensionNamespace, t as InstalledExtensionCatalogEntry, u as SetEnabledReasonSchema, v as ExtensionInfo, x as ExtensionWarningEntrySchema, y as ExtensionInfoSchema } from "../../index-BM8oUon_.mjs";
|
|
2
2
|
export { ComponentIdentitySchema, ComponentInfo, ComponentInfoSchema, ComponentState, ComponentStateSchema, ExtensionInfo, ExtensionInfoSchema, ExtensionNamespace, ExtensionSubjects, ExtensionWarningEntry, ExtensionWarningEntrySchema, InstalledExtensionCatalogEntry, InstalledExtensionCatalogEntrySchema, InstalledExtensionOrigin, InstalledExtensionOriginSchema, InstalledExtensionRecord, InstalledExtensionRecordSchema, ServiceInfo, ServiceInfoSchema, SetEnabledReason, SetEnabledReasonSchema, TransitionOutcome, TransitionOutcomeSchema };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{n as e}from"./json-value-DM-EjTC1.mjs";import{a as t,n}from"./json-tree-Cmb_BzHr.mjs";import{z as r}from"zod";function i(e){return a(e)?e:void 0}function a(e){return typeof e==`object`&&!!e&&!Array.isArray(e)}function o(e,t){if(!a(e))return!1;let n=e.type;return n===t?!0:Array.isArray(n)&&n.length===1&&n[0]===t}const s=`[]`;function c(e,t){return Object.keys(t).length===0?e:e?t:!1}function l(e,t){if(t===`#`)return e;if(!t.startsWith(`#/`))return;let n=e;for(let e of t.slice(2).split(`/`)){let t=i(n),r=e.replace(/~1/g,`/`).replace(/~0/g,`~`);if(!t||!Object.hasOwn(t,r))return;n=t[r]}return n}function u(e,t){let n=t.$ref;if(typeof n!=`string`)return;let r=l(e,n);if(typeof r==`boolean`){if(e.$schema!==`https://json-schema.org/draft/2020-12/schema`)return r;let{$ref:n,...i}=t;return c(r,i)}let a=i(r);if(!a||e.$schema!==`https://json-schema.org/draft/2020-12/schema`)return a;let{$ref:o,...s}=t;return Object.keys(s).length===0?a:{...a,allOf:[s,...Array.isArray(a.allOf)?a.allOf:[]]}}function d(e,t){for(let[n,r]of Object.entries(t))e[n]=Object.hasOwn(e,n)?{allOf:[e[n],r]}:r}function f(e){return Array.isArray(e.required)?e.required.filter(e=>typeof e==`string`):[]}function ee(e,t){let n=i(e.properties);if(!n||!Object.hasOwn(n,t))return;let r=n[t];return typeof r==`boolean`?r:i(r)}function p(e,t,n){if(typeof t.$ref==`string`){if(n.has(t.$ref))return;let r=u(e,t);return a(r)?p(e,r,new Set([...n,t.$ref])):void 0}if(!Array.isArray(t.allOf))return t;let{allOf:r,...o}=t,s={},c={},l=new Set;for(let t of[o,...r]){let r=i(t),a=r?p(e,r,n):void 0;if(!a||a.anyOf||a.oneOf)return;if(a.type!==void 0){if(s.type!==void 0&&s.type!==a.type)return;s.type=a.type}for(let e of[`items`,`prefixItems`])if(a[e]!==void 0){if(s[e]!==void 0)return;s[e]=a[e]}d(c,i(a.properties)??{});for(let e of f(a))l.add(e)}return{...s,properties:c,required:[...l]}}function te(e,t,n,r,i,a,o,s){if(a.has(n))return;let c=u(e,t);return typeof c==`boolean`?r.length===0?[c]:void 0:c?h(e,c,r,i,new Set([...a,n]),o,s):void 0}function ne(e,t,n,r){if(!o(t,`array`))return;let a=t.items;if(typeof a==`boolean`)return n.length===0?[a]:void 0;let s=i(a);return s?h(e,s,n,r):void 0}function m(e,t,n){if(typeof n.$ref!=`string`)return{node:{...n,allOf:[t,...Array.isArray(n.allOf)?n.allOf:[]]}};let r=u(e,n);return a(r)?{node:{...r,allOf:[t,...Array.isArray(r.allOf)?r.allOf:[]]},ref:n.$ref}:{node:{allOf:[t,n]}}}function h(e,t,n,r,a=new Set,s=!1,c=!1){if(typeof t.$ref==`string`){let i=t.$ref;return te(e,t,i,n,r,a,s,c)}let l=Array.isArray(t.anyOf)?`anyOf`:`oneOf`,u=t[l];if(Array.isArray(u)){let{[l]:o,...d}=t,f=u.map(t=>{let o=i(t);if(!o)return;let{node:l,ref:u}=m(e,d,o);return h(e,l,n,r,u===void 0?a:new Set([...a,u]),s,c)});return f.every(e=>e!==void 0)?f.flatMap(e=>e??[]):void 0}if(Array.isArray(t.allOf)){let i=p(e,t,a);return i?h(e,i,n,r,a,s,c):void 0}if(n.length===0)return[t];let[d,...g]=n;if(d===`[]`)return ne(e,t,g,r||c);if(!(!o(t,`object`)&&!(t.type===void 0&&s))&&!(!d||r&&!f(t).includes(d)))return re(e,ee(t,d),g,r,c)}function re(e,t,n,r,i){return typeof t==`boolean`?n.length===0?[t]:void 0:t?h(e,t,n,r,new Set,!1,i):void 0}function g(e,t,n){return h(e,e,[...t],n?.required??!1,new Set,!0,n?.requiredAfterElement??!1)}function _(e,t){return g(e,t.split(`.`))!==void 0}function v(e){let t=[],n=(e,n)=>{let r=i(e);r&&t.push({node:r,path:n})};for(let t of[`properties`,`patternProperties`,`$defs`,`definitions`,`dependentSchemas`,`dependencies`])for(let[r,a]of Object.entries(i(e[t])??{}))n(a,[t,r]);for(let t of[`allOf`,`anyOf`,`oneOf`,`prefixItems`,`items`]){let r=e[t];Array.isArray(r)&&r.forEach((e,r)=>n(e,[t,r]))}for(let t of[`items`,`additionalItems`,`additionalProperties`,`unevaluatedItems`,`unevaluatedProperties`,`propertyNames`,`contains`,`not`,`if`,`then`,`else`,`contentSchema`])n(e[t],[t]);return t}function y(e,t=[`dataSchema`]){if(Array.isArray(e.prefixItems)||Array.isArray(e.items))throw Error(`Unsupported tuple serialization at ${t.join(`.`)}: use an array schema or an explicit JSON Schema registration`);for(let n of v(e))y(n.node,[...t,...n.path])}function b(e,t,n=new Set){if(t.additionalProperties===!1)return!0;if(typeof t.$ref==`string`&&!n.has(t.$ref)){let r=u(e,t);if(r===void 0||a(r)&&b(e,r,new Set([...n,t.$ref])))return!0}return v(t).some(t=>b(e,t.node,n))}function x(e,t,n,r){if(Object.hasOwn(t,`$ref`)&&typeof t.$ref!=`string`&&n.addIssue({code:`custom`,path:[...r,`$ref`],message:`Schema reference must be a string`}),typeof t.$ref==`string`&&!t.$ref.startsWith(`#`)&&n.addIssue({code:`custom`,path:[...r,`$ref`],message:`Only fragment schema references are supported; absolute and document-relative references are outside the artifact registration profile`}),Object.hasOwn(t,`$anchor`)&&n.addIssue({code:`custom`,path:[...r,`$anchor`],message:`Named schema anchors are not supported; use local JSON Pointer references`}),typeof t.$ref==`string`&&t.$ref.startsWith(`#`)&&t.$ref.length>1&&!t.$ref.startsWith(`#/`)&&n.addIssue({code:`custom`,path:[...r,`$ref`],message:`Named schema references are not supported; use local JSON Pointer references`}),typeof t.$ref==`string`&&(t.$ref===`#`||t.$ref.startsWith(`#/`))){let a=l(e,t.$ref);!i(a)&&typeof a!=`boolean`&&n.addIssue({code:`custom`,path:[...r,`$ref`],message:`Fragment schema reference must resolve to an existing object or boolean schema`})}}function S(e,t,n,r=[`dataSchema`]){Object.hasOwn(t,`$async`)&&t.$async!==!1&&n.addIssue({code:`custom`,path:[...r,`$async`],message:`Asynchronous artifact schemas are not supported`}),x(e,t,n,r);for(let e of[`anyOf`,`oneOf`]){let i=t[e];Array.isArray(i)&&i.some(e=>typeof e==`boolean`)&&n.addIssue({code:`custom`,path:[...r,e],message:`Unsupported boolean union alternative: use object schema declarations`})}Array.isArray(t.allOf)&&(b(e,t)||!p(e,t,new Set))&&n.addIssue({code:`custom`,path:[...r,`allOf`],message:`Unsupported intersection: use open compatible conjuncts or a single closed object schema`});for(let i of v(t))S(e,i.node,n,[...r,...i.path])}function ie(e,t){S(e.dataSchema,e.dataSchema,t);let n=h(e.dataSchema,e.dataSchema,e.titlePath.split(`.`),!0,new Set,!0);(!n?.length||n.some(e=>!o(e,`string`)))&&t.addIssue({code:`custom`,path:[`titlePath`],message:`titlePath must select a required string in every data schema variant`});let r=[...(e.indexedFields??[]).map((e,t)=>({path:e,location:[`indexedFields`,t]})),...(e.searchableFields??[]).map((e,t)=>({path:e,location:[`searchableFields`,t]})),...(e.uniqueness??[]).flatMap((e,t)=>e.by.flatMap((e,n)=>e.kind===`data`?[{path:e.path,location:[`uniqueness`,t,`by`,n,`path`]}]:[])),...Object.entries(e.views??{}).flatMap(([e,t])=>t.fields.map((t,n)=>({path:t,location:[`views`,e,`fields`,n]})))];for(let{path:n,location:i}of r)_(e.dataSchema,n)||t.addIssue({code:`custom`,path:i,message:`Data path ${n} must select a declared field`})}function C(e,t){let n=e;for(let e of t.split(`.`)){if(typeof n!=`object`||!n||Array.isArray(n)||!Object.hasOwn(n,e))throw Error(`Artifact title is missing at ${t}`);n=Reflect.get(n,e)}if(typeof n!=`string`||n.trim().length===0)throw Error(`Artifact title at ${t} must be a nonblank string`);return n}const w=[`$dynamicRef`,`$dynamicAnchor`,`$recursiveRef`,`$recursiveAnchor`];function T(e,t,n=[`dataSchema`]){for(let r of w)Object.hasOwn(e,r)&&t.addIssue({code:`custom`,path:[...n,r],message:`Unsupported dynamic reference: use a plain local $ref`});for(let r of v(e))T(r.node,t,[...n,...r.path])}function E(e){return typeof e==`object`&&!!e&&!Array.isArray(e)}function D(e,t){if(typeof t!=`string`)return;let n=l(e,t);return E(n)?n:void 0}function O(e,t){return E(e)?Object.values(e).some(e=>Array.isArray(e)&&e.includes(t)):!1}function k(e,t){let n=e.properties;if(E(n)&&Object.hasOwn(n,t)||Array.isArray(e.required)&&e.required.includes(t)||O(e.dependentRequired,t)||O(e.dependencies,t))return!0;let r=e.patternProperties;return E(r)?Object.keys(r).some(e=>{try{return new RegExp(e,`u`).test(t)}catch{return!1}}):!1}function ae(e){let t=[];for(let n of[`allOf`,`anyOf`,`oneOf`]){let r=e[n];if(Array.isArray(r))for(let e of r)E(e)&&t.push(e)}for(let n of[`if`,`then`,`else`]){let r=e[n];E(r)&&t.push(r)}for(let n of[`dependentSchemas`,`dependencies`]){let r=e[n];if(E(r))for(let e of Object.values(r))E(e)&&t.push(e)}return t}function A(e,t){let n=new Set,r=i=>{if(n.has(i))return!1;if(n.add(i),k(i,t))return!0;let a=D(e,i.$ref);return a&&r(a)?!0:ae(i).some(r)};return r(e)}const j=/^[a-z0-9]+(--?[a-z0-9]+)*$/,oe=r.string().regex(j,`Slug must be lowercase alphanumeric segments joined by hyphens.`),M=`slug`,se=`Data field slug is reserved: the artifact envelope owns the slug`,ce=[[/ä/g,`ae`],[/ö/g,`oe`],[/ü/g,`ue`],[/ß/g,`ss`],[/æ/g,`ae`],[/ø/g,`oe`]];function N(e){let t=ce.reduce((e,[t,n])=>e.replace(t,n),e.toLowerCase()).normalize(`NFKD`).replace(/\p{M}/gu,``).replace(/[^a-z0-9]+/g,`-`).replace(/^-+|-+$/g,``);return t.length>0?t:null}function le(e,t,n){let r=N(C(e,t));if(r!==null)return r;let i=N(n);if(i!==null)return i;throw Error(`Artifact ${n} yields no slug from its title or identity`)}function P(e,t){let n=e.addressableParts;if(!n||n.length===0)return;let r=new Set;for(let[i,a]of n.entries())r.has(a.path)&&t.addIssue({code:`custom`,path:[`addressableParts`,i,`path`],message:`addressableParts[${i}].path duplicates an earlier area; each declared area must have a distinct path`}),r.add(a.path),F(e.dataSchema,a,i,t)}function F(e,t,n,r){let i=g(e,t.path.split(`.`));if(!i||i.length===0){r.addIssue({code:`custom`,path:[`addressableParts`,n,`path`],message:`addressableParts[${n}].path must select a declared location in every data schema variant`});return}if(i.some(e=>!o(e,`array`))){r.addIssue({code:`custom`,path:[`addressableParts`,n,`path`],message:`addressableParts[${n}].path must select an array schema in every data schema variant`});return}if(i.some(e=>typeof e==`object`&&(Array.isArray(e.prefixItems)||Array.isArray(e.items)))){r.addIssue({code:`custom`,path:[`addressableParts`,n,`path`],message:`addressableParts[${n}].path selects a tuple schema; tuples are outside the addressable-parts profile (homogeneous arrays only)`});return}I(e,t,n,r)}function I(e,t,n,r){let i=()=>{r.addIssue({code:`custom`,path:[`addressableParts`,n,`idPath`],message:`addressableParts[${n}].idPath must select a required string in every element variant`})},a=t.idPath.split(`.`),s=g(e,[...t.path.split(`.`),`[]`,...a],{requiredAfterElement:!0});if(!s||s.length===0){i();return}s.some(e=>!o(e,`string`))&&i()}function L(e,r){let i=[],a=new Map;for(let o of e){let e=t(r,o.path.split(`.`));if(e===void 0)continue;if(!Array.isArray(e)){i.push({path:o.path,reason:`declared part area must be an array; found ${typeof e}`});continue}let s=o.idPath.split(`.`);for(let[r,c]of e.entries()){let e=`${o.path}.${r}.${o.idPath}`;if(!n(c)){i.push({path:e,reason:`part element is not an object; local identifier cannot be read`});continue}let l=t(c,s);if(typeof l!=`string`){i.push({path:e,reason:l===void 0?`local identifier is missing`:`local identifier must be a string; found ${typeof l}`});continue}if(/^\s*$/.test(l)){i.push({path:e,reason:`local identifier must be a non-empty, non-whitespace-only string`});continue}let u=a.get(l);u===void 0?a.set(l,e):i.push({path:e,reason:`duplicate local identifier "${l}"; also found at ${u}`})}}return i}function R(e,t,n){let r=[],i=V(e,t);for(let[t,a]of n.entries()){if(a.sourceLocalId===void 0)continue;let n=i?.get(a.sourceLocalId)??(e.length===0?{ok:!1,reason:`NO_PARTS_DECLARED`}:{ok:!1,reason:`PART_NOT_FOUND`});n.ok||r.push({relationIndex:t,reason:n.reason})}return r}const z=[`ARTIFACT_NOT_FOUND`,`KIND_NOT_REGISTERED`,`NO_PARTS_DECLARED`,`PART_NOT_FOUND`,`DUPLICATE_LOCAL_ID`],B=r.strictObject({code:r.enum(z),message:r.string().min(1),repair:r.string().min(1)});function V(e,r){if(e.length===0)return;let i=new Map;for(let a of e){let e=t(r,a.path.split(`.`));if(!Array.isArray(e))continue;let o=a.idPath.split(`.`);for(let r of e){if(!n(r))continue;let e=t(r,o);typeof e==`string`&&(i.has(e)?i.set(e,{ok:!1,reason:`DUPLICATE_LOCAL_ID`}):i.set(e,{ok:!0,areaPath:a.path,part:r}))}}return i}function H(e,t,n){let r=V(e,t);return r===void 0?{ok:!1,reason:`NO_PARTS_DECLARED`}:r.get(n)??{ok:!1,reason:`PART_NOT_FOUND`}}const U=r.number().int().positive(),W=r.enum([`knowledge`,`commitment`,`interaction`,`record`]),G=r.string().regex(/^[A-Za-z_$][\w$-]*(?:\.[A-Za-z_$][\w$-]*)*$/),K=r.strictObject({fields:r.array(G).min(1)}),ue=new Set([`full`]),q={knowledge:[`valid`,`retired`],commitment:[`proposed`,`decided`,`fulfilled`,`revoked`],interaction:[`open`,`resolved`,`closed-without-resolution`],record:[]},J=r.enum([...q.knowledge,...q.commitment,...q.interaction]),Y=r.strictObject({relationType:r.string().trim().min(1),targetKinds:r.array(r.string().trim().min(1)).min(1).optional(),minItems:r.number().int().nonnegative(),maxItems:r.number().int().nonnegative().optional()}).refine(e=>e.maxItems===void 0||e.maxItems>=e.minItems,{path:[`maxItems`],message:`maxItems must be at least minItems`}),X=r.discriminatedUnion(`kind`,[r.strictObject({kind:r.literal(`data`),path:G}),r.strictObject({kind:r.literal(`relation-target`),relationType:r.string().trim().min(1)})]),Z=r.strictObject({path:G,idPath:G}),Q=r.strictObject({by:r.array(X).min(1),lifecycleStates:r.array(J).min(1).optional()}),$=r.strictObject({minItems:r.number().int().nonnegative()}),de=r.enum([`http://json-schema.org/draft-07/schema#`,`https://json-schema.org/draft/2020-12/schema`]).optional(),fe=r.strictObject({kind:r.string().trim().min(1),description:r.string().trim().min(1),schemaVersion:U,category:W,dataSchema:e,titlePath:G,relations:r.array(Y).optional(),uniqueness:r.array(Q).optional(),evidenceRequirements:$.optional(),indexedFields:r.array(G).optional(),searchableFields:r.array(G).optional(),addressableParts:r.array(Z).min(1).optional(),views:r.record(r.string().trim().min(1),K).optional()}).superRefine((e,t)=>{de.safeParse(e.dataSchema.$schema).success||t.addIssue({code:`custom`,path:[`dataSchema`,`$schema`],message:`Unsupported data schema dialect: omit $schema for draft-7 or declare the supported draft-7 or 2020-12 URI`});let n=q[e.category];e.uniqueness?.forEach((r,i)=>{r.lifecycleStates?.some(e=>!n.includes(e))&&t.addIssue({code:`custom`,path:[`uniqueness`,i,`lifecycleStates`],message:`Lifecycle conditions are incompatible with category ${e.category}`})}),Object.keys(e.views??{}).forEach(e=>{ue.has(e)&&t.addIssue({code:`custom`,path:[`views`,e],message:`Artifact kind view ${e} is reserved for the generic complete-payload view`})}),A(e.dataSchema,`slug`)&&t.addIssue({code:`custom`,path:[`dataSchema`,`properties`,M],message:`Data field ${M} is reserved: the artifact envelope owns the slug`}),T(e.dataSchema,t),ie(e,t),P(e,t)});export{C as A,le as C,y as D,s as E,g as O,oe as S,A as T,H as _,fe as a,j as b,Z as c,Q as d,X as f,R as g,L as h,$ as i,_ as k,Y as l,B as m,W as n,K as o,z as p,G as r,J as s,q as t,U as u,P as v,N as w,se as x,M as y};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{n as e,o as t}from"./json-value-DM-EjTC1.mjs";import{c as n,w as r}from"./schemas-
|
|
1
|
+
import{n as e,o as t}from"./json-value-DM-EjTC1.mjs";import{c as n,w as r}from"./schemas-W3nT06vH.mjs";import{z as i}from"zod";import{createBusNamespace as a}from"@makaio/framework/core";const o=i.enum([`link`,`summary`,`full`]),s=i.object({artifactId:i.string().min(1).optional(),url:i.string().min(1).optional(),label:i.string().min(1),sourceLocalId:n.shape.sourceLocalId}),c=i.object({id:i.string().min(1),kind:i.string().min(1),revision:i.string().min(1),status:i.string().min(1).optional()}),l=i.object({breadcrumbs:i.array(s),related:i.array(s)}),u=i.object({dashboard:i.string().min(1).optional(),materialized:i.string().min(1).optional()}),d=i.object({type:i.literal(`summary`),title:i.string().min(1),text:i.string().min(1)}),f=i.object({type:i.literal(`properties`),title:i.string().min(1),rows:i.array(i.object({label:i.string().min(1),value:i.string()}))}),p=i.object({type:i.literal(`table`),title:i.string().min(1),columns:i.array(i.string().min(1)),rows:i.array(i.object({cells:i.array(i.string()),link:s.optional()}))}),m=i.object({type:i.literal(`relations`),title:i.string().min(1),groups:i.array(i.object({type:i.string().min(1),items:i.array(s)}))}),h=i.object({type:i.literal(`evidence`),title:i.string().min(1),items:i.array(i.object({kind:i.string().min(1),id:i.string().min(1),locator:i.string().min(1).optional()}))}),g=i.object({type:i.literal(`raw`),title:i.string().min(1),json:t}),_=i.object({type:i.literal(`code`),title:i.string().min(1),language:i.string().min(1),content:i.string()}),v=i.object({type:i.literal(`diagram`),title:i.string().min(1),notation:i.literal(`mermaid`),source:i.string().min(1)}),y=i.discriminatedUnion(`type`,[d,f,p,m,h,g,_,v]),b=i.object({title:i.string().min(1),artifact:c,navigation:l,sections:i.array(y),links:u}),x=e,S=i.object({level:o,params:x.optional()}),C=i.object({kind:i.literal(`entry`),via:i.string().min(1).optional(),collection:i.string().min(1).optional()});function w(e){return(t,n)=>{t.via!==void 0==(t.collection!==void 0)&&n.addIssue({code:i.ZodIssueCode.custom,message:`Entry ${e} must have exactly one of via or collection`})}}const T=i.discriminatedUnion(`kind`,[i.object({kind:i.literal(`own-view`)}),i.object({kind:i.literal(`inline`),hostRelation:i.string().min(1),as:o.optional()}),C.extend({title:i.string().min(1).optional(),hostRelation:i.string().min(1).optional()}).superRefine(w(`affordance`))]),E=i.discriminatedUnion(`kind`,[i.object({kind:i.literal(`own-view`)}),i.object({kind:i.literal(`inline`),hostRelation:i.string().min(1)}),C.superRefine(w(`request`))]);function D(e){return e}const O=i.enum([`title`,`summary`]),k=i.discriminatedUnion(`kind`,[i.object({kind:i.literal(`label`),prefix:i.string().min(1).optional()}),i.object({kind:i.literal(`field`),name:i.string().min(1),fieldId:i.string().min(1).optional()}),i.object({kind:i.literal(`issue-type`),name:i.string().min(1),typeId:i.string().min(1).optional()}),i.object({kind:i.literal(`body-fragment`),slot:i.string().min(1)}),i.object({kind:i.literal(`comment`),template:i.string().min(1)})]),A=i.object({id:i.string().min(1),provider:i.string().min(1),namespace:i.string().min(1),target:k,appliesTo:i.array(i.enum([`workpiece`,`artifact`,`surface`])).min(1),valueMapping:i.record(i.string(),i.string()).optional(),description:i.string().min(1).optional(),params:e.optional()}),j=i.enum([`status`,`workflow`,`priority`]),M=i.object({path:i.string().min(1),semantic:j.optional(),fromLevel:o.optional(),viewRole:O.optional()}),N=i.object({mode:i.enum([`none`,`surface`,`comment`]),defaultRole:i.enum([`workpiece`,`artifact`]).optional(),semanticEvents:i.array(i.enum([`created`,`revised`,`status-changed`,`observation-added`])).optional(),projectedFields:i.array(M).optional(),affordances:i.array(T).optional()}).superRefine((e,t)=>{if(!e.projectedFields)return;let n=0,r=0;for(let t of e.projectedFields)t.viewRole===`title`&&n++,t.viewRole===`summary`&&r++;n>1&&t.addIssue({code:i.ZodIssueCode.custom,path:[`projectedFields`],message:`At most one projected field may declare viewRole: title`}),r>1&&t.addIssue({code:i.ZodIssueCode.custom,path:[`projectedFields`],message:`At most one projected field may declare viewRole: summary`})}),P=i.object({artifactId:i.string().min(1),provider:i.string().min(1),externalId:i.string().min(1),externalUrl:i.string().optional(),surfaceRole:i.enum([`workpiece`,`artifact`]),lastSyncedRevision:i.string().optional(),metadata:i.record(i.string(),i.unknown()).optional()}),F=S.extend({ref:r,affordance:E}),I=i.discriminatedUnion(`status`,[i.object({status:i.literal(`ok`),view:b,builderVersion:i.number().int().positive(),sourceRevision:i.string().min(1)}),i.object({status:i.literal(`artifact-not-found`),view:i.null()}),i.object({status:i.literal(`not-rendered`),view:i.null()})]),L={"surfaceBinding.register":{request:A,response:i.object({registered:i.boolean()})},"surfaceBinding.list":{request:i.object({id:i.string().min(1).optional(),provider:i.string().min(1).optional(),namespace:i.string().min(1).optional()}),response:i.object({bindings:i.array(A)})},"surfaceBinding.changed":i.object({id:i.string().min(1),provider:i.string().min(1)}),"ref.changed":i.object({artifactId:i.string().min(1),provider:i.string().min(1),externalId:i.string().min(1),operation:i.enum([`upserted`,`deleted`]),origin:i.enum([`factory`,`external`]).optional()}),"capability.resolved":i.object({provider:i.string().min(1),surface:i.string().min(1),capabilities:i.record(i.string().min(1),i.boolean()),degraded:i.boolean()}),"artifact.view.resolve":{request:F,response:I}},R=a(`materialization`,L),ee=R.subjects;function z(e){return{id:e.id,toRegistration:()=>({id:e.id,provider:e.provider,namespace:e.namespace,target:structuredClone(e.target),appliesTo:[...e.appliesTo],...e.valueMapping===void 0?{}:{valueMapping:{...e.valueMapping}},...e.description===void 0?{}:{description:e.description},...e.params===void 0?{}:{params:structuredClone(e.params)}})}}const B=8;function V(e){let t=0,n=0;for(let r=0;r<e.length;r++)e[r]==="`"?(n++,n>t&&(t=n)):n=0;let r=Math.max(3,t+1);return"`".repeat(r)}function H(e){return e.replace(/`/g,``)}function U(e){return e.replace(/\]/g,`\\]`)}function W(e){let t=``;for(let n=0;n<e.length;n++){let r=e.charCodeAt(n),i=e[n];t+=r>=48&&r<=57||r>=65&&r<=90||r>=97&&r<=122||i===`-`?i:`%${r.toString(16).toUpperCase().padStart(4,`0`)}`}return t}function G(e){return e.replace(/\(/g,`%28`).replace(/\)/g,`%29`)}function K(e){let t=e.sourceLocalId?W(e.sourceLocalId):void 0,n=t?`${e.label} (from part: ${t})`:e.label;return e.url?`[${U(n)}](${G(e.url)})`:t?`${e.label} (from part: ${U(t)})`:n}function q(e){let t=[];if(e.breadcrumbs.length>0&&t.push(`**Breadcrumbs:** ${e.breadcrumbs.map(K).join(` › `)}`),e.related.length>0){t.length>0&&t.push(``),t.push(`**Related:**`);for(let n of e.related)t.push(`- ${K(n)}`)}return t}function J(e){return e.replace(/\|/g,`\\|`).replace(/[\r\n]+/g,` `)}function Y(e){return[`### ${e.title}`,``,e.text]}function X(e){let t=[`### ${e.title}`,``];for(let n of e.rows)n.value.length>0?t.push(`**${n.label}:** ${n.value}`):t.push(`**${n.label}:**`);return t}function Z(e){let t=[`### ${e.title}`,``],n=e.rows.some(e=>e.link!==void 0),r=e.columns.map(J);n&&r.push(``);let i=r.length;t.push(`| ${r.join(` | `)} |`),t.push(`| ${r.map(()=>`---`).join(` | `)} |`);for(let r of e.rows){let e=r.cells.map(J);for(n&&e.push(r.link?J(K(r.link)):``);e.length<i;)e.push(``);t.push(`| ${e.join(` | `)} |`)}return t}function Q(e){let t=[`### ${e.title}`,``];for(let n of e.groups){t.push(`**${n.type}**`,``);for(let e of n.items)t.push(`- ${K(e)}`);t.push(``)}return t}function te(e){let t=[`### ${e.title}`,``];for(let n of e.items){let e=n.locator?` (${n.locator})`:``;t.push(`- **${n.kind}:** ${n.id}${e}`)}return t}function $(e,t,n){let r=V(t);return[`### ${e}`,``,`${r}${H(n)}`,t,r]}function ne(e){return $(e.title,JSON.stringify(e.json,null,2),`json`)}function re(e){return $(e.title,e.content,e.language)}function ie(e){return $(e.title,e.source,e.notation)}function ae(e){switch(e.type){case`summary`:return Y(e);case`properties`:return X(e);case`table`:return Z(e);case`relations`:return Q(e);case`evidence`:return te(e);case`raw`:return ne(e);case`code`:return re(e);case`diagram`:return ie(e)}}function oe(e,t={}){let n=[];t.includeTitle!==!1&&n.push([`## ${e.title}`]);let r=q(e.navigation);r.length>0&&n.push(r);for(let t of e.sections)n.push(ae(t));return n.map(e=>e.join(`
|
|
2
2
|
`)).join(`
|
|
3
3
|
|
|
4
4
|
`)}export{g as A,h as C,b as D,s as E,p as F,y as M,d as N,l as O,u as P,v as S,o as T,E as _,I as a,D as b,ee as c,M as d,j as f,T as g,k as h,F as i,m as j,f as k,P as l,A as m,oe as n,R as o,O as p,z as r,L as s,B as t,N as u,x as v,c as w,_ as x,S as y};
|
|
@@ -335,8 +335,8 @@ declare const MessageStorageNamespace$1: {
|
|
|
335
335
|
isError: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
336
336
|
}, _$zod_v4_core0.$strip>], "type">>;
|
|
337
337
|
agentId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
338
|
-
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
339
338
|
turnId: _$zod.ZodNullable<_$zod.ZodString>;
|
|
339
|
+
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
340
340
|
timestamp: _$zod.ZodNumber;
|
|
341
341
|
contentText: _$zod.ZodString;
|
|
342
342
|
adapterMessageId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -1120,8 +1120,8 @@ declare const MessageStorageNamespace$1: {
|
|
|
1120
1120
|
isError: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
1121
1121
|
}, _$zod_v4_core0.$strip>], "type">>;
|
|
1122
1122
|
agentId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1123
|
-
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1124
1123
|
turnId: _$zod.ZodNullable<_$zod.ZodString>;
|
|
1124
|
+
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1125
1125
|
timestamp: _$zod.ZodNumber;
|
|
1126
1126
|
contentText: _$zod.ZodString;
|
|
1127
1127
|
adapterMessageId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -2030,10 +2030,10 @@ declare const MessageStorageNamespace$1: {
|
|
|
2030
2030
|
})[];
|
|
2031
2031
|
messageId: string;
|
|
2032
2032
|
agentId: never;
|
|
2033
|
-
adapterSessionId: never;
|
|
2034
2033
|
turnId: string | null;
|
|
2035
|
-
|
|
2034
|
+
adapterSessionId: never;
|
|
2036
2035
|
timestamp: number;
|
|
2036
|
+
limit: never;
|
|
2037
2037
|
query: string;
|
|
2038
2038
|
contentText: string;
|
|
2039
2039
|
adapterMessageId: string;
|
|
@@ -17,13 +17,13 @@ declare const AdapterSubsystemNamespace: _$_makaio_core0.BusNamespaceDefinition<
|
|
|
17
17
|
displayName: _$zod.ZodOptional<_$zod.ZodString>;
|
|
18
18
|
protocol: _$zod.ZodOptional<_$zod.ZodString>;
|
|
19
19
|
clientId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
20
|
+
settings: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
20
21
|
helpLinks: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodObject<{
|
|
21
22
|
label: _$zod.ZodString;
|
|
22
23
|
url: _$zod.ZodString;
|
|
23
24
|
}, _$zod_v4_core0.$strict>>>;
|
|
24
25
|
instructions: _$zod.ZodOptional<_$zod.ZodString>;
|
|
25
26
|
providerDefinitionIds: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
26
|
-
settings: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
27
27
|
name: _$zod.ZodString;
|
|
28
28
|
enabled: _$zod.ZodBoolean;
|
|
29
29
|
bindings: _$zod.ZodArray<_$zod.ZodObject<{
|
|
@@ -42,13 +42,13 @@ declare const AdapterSubsystemNamespace: _$_makaio_core0.BusNamespaceDefinition<
|
|
|
42
42
|
displayName: _$zod.ZodOptional<_$zod.ZodString>;
|
|
43
43
|
protocol: _$zod.ZodOptional<_$zod.ZodString>;
|
|
44
44
|
clientId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
45
|
+
settings: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
45
46
|
helpLinks: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodObject<{
|
|
46
47
|
label: _$zod.ZodString;
|
|
47
48
|
url: _$zod.ZodString;
|
|
48
49
|
}, _$zod_v4_core0.$strict>>>;
|
|
49
50
|
instructions: _$zod.ZodOptional<_$zod.ZodString>;
|
|
50
51
|
providerDefinitionIds: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
51
|
-
settings: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
52
52
|
name: _$zod.ZodString;
|
|
53
53
|
enabled: _$zod.ZodBoolean;
|
|
54
54
|
bindings: _$zod.ZodArray<_$zod.ZodObject<{
|
|
@@ -1653,13 +1653,13 @@ declare const AdapterSubsystemNamespace: _$_makaio_core0.BusNamespaceDefinition<
|
|
|
1653
1653
|
displayName: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1654
1654
|
protocol: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1655
1655
|
clientId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1656
|
+
settings: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
1656
1657
|
helpLinks: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodObject<{
|
|
1657
1658
|
label: _$zod.ZodString;
|
|
1658
1659
|
url: _$zod.ZodString;
|
|
1659
1660
|
}, _$zod_v4_core0.$strict>>>;
|
|
1660
1661
|
instructions: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1661
1662
|
providerDefinitionIds: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
1662
|
-
settings: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
1663
1663
|
name: _$zod.ZodString;
|
|
1664
1664
|
enabled: _$zod.ZodBoolean;
|
|
1665
1665
|
bindings: _$zod.ZodArray<_$zod.ZodObject<{
|
|
@@ -1878,13 +1878,13 @@ declare const AdapterSubsystemSubjects: _$_makaio_core0.BusSubjects<_$_makaio_co
|
|
|
1878
1878
|
displayName: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1879
1879
|
protocol: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1880
1880
|
clientId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1881
|
+
settings: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
1881
1882
|
helpLinks: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodObject<{
|
|
1882
1883
|
label: _$zod.ZodString;
|
|
1883
1884
|
url: _$zod.ZodString;
|
|
1884
1885
|
}, _$zod_v4_core0.$strict>>>;
|
|
1885
1886
|
instructions: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1886
1887
|
providerDefinitionIds: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
1887
|
-
settings: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
1888
1888
|
name: _$zod.ZodString;
|
|
1889
1889
|
enabled: _$zod.ZodBoolean;
|
|
1890
1890
|
bindings: _$zod.ZodArray<_$zod.ZodObject<{
|
|
@@ -1903,13 +1903,13 @@ declare const AdapterSubsystemSubjects: _$_makaio_core0.BusSubjects<_$_makaio_co
|
|
|
1903
1903
|
displayName: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1904
1904
|
protocol: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1905
1905
|
clientId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1906
|
+
settings: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
1906
1907
|
helpLinks: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodObject<{
|
|
1907
1908
|
label: _$zod.ZodString;
|
|
1908
1909
|
url: _$zod.ZodString;
|
|
1909
1910
|
}, _$zod_v4_core0.$strict>>>;
|
|
1910
1911
|
instructions: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1911
1912
|
providerDefinitionIds: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
1912
|
-
settings: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
1913
1913
|
name: _$zod.ZodString;
|
|
1914
1914
|
enabled: _$zod.ZodBoolean;
|
|
1915
1915
|
bindings: _$zod.ZodArray<_$zod.ZodObject<{
|
|
@@ -3514,13 +3514,13 @@ declare const AdapterSubsystemSubjects: _$_makaio_core0.BusSubjects<_$_makaio_co
|
|
|
3514
3514
|
displayName: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3515
3515
|
protocol: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3516
3516
|
clientId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3517
|
+
settings: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
3517
3518
|
helpLinks: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodObject<{
|
|
3518
3519
|
label: _$zod.ZodString;
|
|
3519
3520
|
url: _$zod.ZodString;
|
|
3520
3521
|
}, _$zod_v4_core0.$strict>>>;
|
|
3521
3522
|
instructions: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3522
3523
|
providerDefinitionIds: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
3523
|
-
settings: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
3524
3524
|
name: _$zod.ZodString;
|
|
3525
3525
|
enabled: _$zod.ZodBoolean;
|
|
3526
3526
|
bindings: _$zod.ZodArray<_$zod.ZodObject<{
|
|
@@ -779,6 +779,7 @@ declare const WorkflowAttemptOutcomeSchema: z.ZodUnion<readonly [z.ZodDiscrimina
|
|
|
779
779
|
artifact: z.ZodOptional<z.ZodObject<{
|
|
780
780
|
kind: z.ZodString;
|
|
781
781
|
id: z.ZodString;
|
|
782
|
+
slug: z.ZodString;
|
|
782
783
|
revision: z.ZodString;
|
|
783
784
|
scope: z.ZodObject<{
|
|
784
785
|
level: z.ZodString;
|
package/dist/package.json
CHANGED
|
@@ -306,35 +306,6 @@ providers:
|
|
|
306
306
|
contextWindowSize: 131072
|
|
307
307
|
qwen3.5-plus:
|
|
308
308
|
contextWindowSize: 131072
|
|
309
|
-
github-copilot:
|
|
310
|
-
name: GitHub Copilot
|
|
311
|
-
models:
|
|
312
|
-
gpt-5.1-codex-mini: {}
|
|
313
|
-
gpt-5.4-mini: {}
|
|
314
|
-
google:
|
|
315
|
-
name: Google AI
|
|
316
|
-
models:
|
|
317
|
-
gemini-2.5-flash: {}
|
|
318
|
-
gemini-2.5-flash-lite: {}
|
|
319
|
-
gemini-2.5-pro: {}
|
|
320
|
-
gemini-3-flash: {}
|
|
321
|
-
gemini-3-flash-preview: {}
|
|
322
|
-
gemini-3-pro: {}
|
|
323
|
-
gemini-3-pro-preview: {}
|
|
324
|
-
gemini-3.1-flash-lite-preview: {}
|
|
325
|
-
gemini-3.1-pro-preview: {}
|
|
326
|
-
google-oauth:
|
|
327
|
-
name: Google AI (Subscription)
|
|
328
|
-
models:
|
|
329
|
-
gemini-2.5-flash: {}
|
|
330
|
-
gemini-2.5-flash-lite: {}
|
|
331
|
-
gemini-2.5-pro: {}
|
|
332
|
-
gemini-3-flash: {}
|
|
333
|
-
gemini-3-flash-preview: {}
|
|
334
|
-
gemini-3-pro: {}
|
|
335
|
-
gemini-3-pro-preview: {}
|
|
336
|
-
gemini-3.1-flash-lite-preview: {}
|
|
337
|
-
gemini-3.1-pro-preview: {}
|
|
338
309
|
nanogpt:
|
|
339
310
|
name: NanoGPT
|
|
340
311
|
models: {}
|
|
@@ -975,7 +975,7 @@ declare const sessions: _$drizzle_orm_sqlite_core0.SQLiteTableWithColumns<{
|
|
|
975
975
|
*/
|
|
976
976
|
declare const agentsDual: _$_makaio_storage_drizzle0.DualTable<"agents", {
|
|
977
977
|
/** Unique agent identifier (stable across connector swaps and restarts) */agentId: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.IsPrimaryKey<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"agent_id", [string, ...string[]], number | undefined>>>, _$drizzle_orm0.IsPrimaryKey<_$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgTextBuilderInitial<"agent_id", [string, ...string[]]>>>>; /** Adapter instance that owns this agent */
|
|
978
|
-
adapterId: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"adapter_id", [string, ...string[]], number | undefined>>, _$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgTextBuilderInitial<"adapter_id", [string, ...string[]]>>>; /** Adapter type name (e.g., 'claude-code', '
|
|
978
|
+
adapterId: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"adapter_id", [string, ...string[]], number | undefined>>, _$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgTextBuilderInitial<"adapter_id", [string, ...string[]]>>>; /** Adapter type name (e.g., 'claude-code', 'openai-node') */
|
|
979
979
|
adapterName: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"adapter_name", [string, ...string[]], number | undefined>>, _$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgTextBuilderInitial<"adapter_name", [string, ...string[]]>>>; /** Makaio session this agent belongs to */
|
|
980
980
|
sessionId: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"session_id", [string, ...string[]], number | undefined>>, _$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgTextBuilderInitial<"session_id", [string, ...string[]]>>>; /** Machine hosting the current live connector, when one has been committed. */
|
|
981
981
|
ownerMachineId: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"owner_machine_id", [string, ...string[]], number | undefined>, _$drizzle_orm_pg_core0.PgTextBuilderInitial<"owner_machine_id", [string, ...string[]]>>; /** Runtime incarnation hosting the current live connector. */
|
|
@@ -534,6 +534,7 @@ declare const ArtifactRepresentationsSchema: z.ZodObject<{
|
|
|
534
534
|
declare const ArtifactRevisionSchema: z.ZodObject<{
|
|
535
535
|
kind: z.ZodString;
|
|
536
536
|
id: z.ZodString;
|
|
537
|
+
slug: z.ZodString;
|
|
537
538
|
revision: z.ZodString;
|
|
538
539
|
scope: z.ZodObject<{
|
|
539
540
|
level: z.ZodString;
|
|
@@ -691,8 +692,8 @@ declare const RelationTypeRegistrationSchema: z.ZodObject<{
|
|
|
691
692
|
targetKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
692
693
|
targetRefClasses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
693
694
|
local: "local";
|
|
694
|
-
artifact: "artifact";
|
|
695
695
|
evidence: "evidence";
|
|
696
|
+
artifact: "artifact";
|
|
696
697
|
entity: "entity";
|
|
697
698
|
}>>>;
|
|
698
699
|
}, z.core.$strip>;
|
|
@@ -709,6 +710,7 @@ declare const ArtifactQueryRequestSchema: z.ZodObject<{
|
|
|
709
710
|
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
710
711
|
}, z.core.$strip>>;
|
|
711
712
|
ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
713
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
712
714
|
currentOnly: z.ZodOptional<z.ZodBoolean>;
|
|
713
715
|
search: z.ZodOptional<z.ZodString>;
|
|
714
716
|
relation: z.ZodOptional<z.ZodObject<{
|
|
@@ -785,6 +787,7 @@ declare const ArtifactCompareResponseSchema: z.ZodObject<{
|
|
|
785
787
|
base: z.ZodObject<{
|
|
786
788
|
kind: z.ZodString;
|
|
787
789
|
id: z.ZodString;
|
|
790
|
+
slug: z.ZodString;
|
|
788
791
|
revision: z.ZodString;
|
|
789
792
|
scope: z.ZodObject<{
|
|
790
793
|
level: z.ZodString;
|
|
@@ -928,6 +931,7 @@ declare const ArtifactCompareResponseSchema: z.ZodObject<{
|
|
|
928
931
|
target: z.ZodObject<{
|
|
929
932
|
kind: z.ZodString;
|
|
930
933
|
id: z.ZodString;
|
|
934
|
+
slug: z.ZodString;
|
|
931
935
|
revision: z.ZodString;
|
|
932
936
|
scope: z.ZodObject<{
|
|
933
937
|
level: z.ZodString;
|
|
@@ -10,8 +10,8 @@ import { UiNavigationLevel } from "@makaio/framework/contracts";
|
|
|
10
10
|
*/
|
|
11
11
|
declare const SurfaceIdSchema: z.ZodEnum<{
|
|
12
12
|
tray: "tray";
|
|
13
|
-
mobile: "mobile";
|
|
14
13
|
web: "web";
|
|
14
|
+
mobile: "mobile";
|
|
15
15
|
electron: "electron";
|
|
16
16
|
electrobun: "electrobun";
|
|
17
17
|
}>;
|
|
@@ -101,8 +101,8 @@ declare const PageMetadataSchema: z.ZodObject<{
|
|
|
101
101
|
level: z.ZodCustom<UiNavigationLevel, UiNavigationLevel>;
|
|
102
102
|
surfaces: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"all">, z.ZodArray<z.ZodEnum<{
|
|
103
103
|
tray: "tray";
|
|
104
|
-
mobile: "mobile";
|
|
105
104
|
web: "web";
|
|
105
|
+
mobile: "mobile";
|
|
106
106
|
electron: "electron";
|
|
107
107
|
electrobun: "electrobun";
|
|
108
108
|
}>>]>>;
|
|
@@ -127,8 +127,8 @@ declare const PageSchemas: {
|
|
|
127
127
|
readonly request: z.ZodObject<{
|
|
128
128
|
surface: z.ZodOptional<z.ZodEnum<{
|
|
129
129
|
tray: "tray";
|
|
130
|
-
mobile: "mobile";
|
|
131
130
|
web: "web";
|
|
131
|
+
mobile: "mobile";
|
|
132
132
|
electron: "electron";
|
|
133
133
|
electrobun: "electrobun";
|
|
134
134
|
}>>;
|
|
@@ -147,8 +147,8 @@ declare const PageSchemas: {
|
|
|
147
147
|
level: z.ZodCustom<UiNavigationLevel, UiNavigationLevel>;
|
|
148
148
|
surfaces: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"all">, z.ZodArray<z.ZodEnum<{
|
|
149
149
|
tray: "tray";
|
|
150
|
-
mobile: "mobile";
|
|
151
150
|
web: "web";
|
|
151
|
+
mobile: "mobile";
|
|
152
152
|
electron: "electron";
|
|
153
153
|
electrobun: "electrobun";
|
|
154
154
|
}>>]>>;
|
|
@@ -20,13 +20,13 @@ declare const AdapterSubsystemSchemas: {
|
|
|
20
20
|
displayName: z.ZodOptional<z.ZodString>;
|
|
21
21
|
protocol: z.ZodOptional<z.ZodString>;
|
|
22
22
|
clientId: z.ZodOptional<z.ZodString>;
|
|
23
|
+
settings: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
23
24
|
helpLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
24
25
|
label: z.ZodString;
|
|
25
26
|
url: z.ZodString;
|
|
26
27
|
}, z.core.$strict>>>;
|
|
27
28
|
instructions: z.ZodOptional<z.ZodString>;
|
|
28
29
|
providerDefinitionIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
29
|
-
settings: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
30
30
|
name: z.ZodString;
|
|
31
31
|
enabled: z.ZodBoolean;
|
|
32
32
|
bindings: z.ZodArray<z.ZodObject<{
|
|
@@ -48,13 +48,13 @@ declare const AdapterSubsystemSchemas: {
|
|
|
48
48
|
displayName: z.ZodOptional<z.ZodString>;
|
|
49
49
|
protocol: z.ZodOptional<z.ZodString>;
|
|
50
50
|
clientId: z.ZodOptional<z.ZodString>;
|
|
51
|
+
settings: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
51
52
|
helpLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
52
53
|
label: z.ZodString;
|
|
53
54
|
url: z.ZodString;
|
|
54
55
|
}, z.core.$strict>>>;
|
|
55
56
|
instructions: z.ZodOptional<z.ZodString>;
|
|
56
57
|
providerDefinitionIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
57
|
-
settings: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
58
58
|
name: z.ZodString;
|
|
59
59
|
enabled: z.ZodBoolean;
|
|
60
60
|
bindings: z.ZodArray<z.ZodObject<{
|
|
@@ -1719,13 +1719,13 @@ declare const AdapterSubsystemSchemas: {
|
|
|
1719
1719
|
displayName: z.ZodOptional<z.ZodString>;
|
|
1720
1720
|
protocol: z.ZodOptional<z.ZodString>;
|
|
1721
1721
|
clientId: z.ZodOptional<z.ZodString>;
|
|
1722
|
+
settings: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
1722
1723
|
helpLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1723
1724
|
label: z.ZodString;
|
|
1724
1725
|
url: z.ZodString;
|
|
1725
1726
|
}, z.core.$strict>>>;
|
|
1726
1727
|
instructions: z.ZodOptional<z.ZodString>;
|
|
1727
1728
|
providerDefinitionIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1728
|
-
settings: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
1729
1729
|
name: z.ZodString;
|
|
1730
1730
|
enabled: z.ZodBoolean;
|
|
1731
1731
|
bindings: z.ZodArray<z.ZodObject<{
|
|
@@ -3124,13 +3124,13 @@ declare const AdapterFileConfigSchema: z.ZodObject<{
|
|
|
3124
3124
|
displayName: z.ZodOptional<z.ZodString>;
|
|
3125
3125
|
protocol: z.ZodOptional<z.ZodString>;
|
|
3126
3126
|
clientId: z.ZodOptional<z.ZodString>;
|
|
3127
|
+
settings: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
3127
3128
|
helpLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3128
3129
|
label: z.ZodString;
|
|
3129
3130
|
url: z.ZodString;
|
|
3130
3131
|
}, z.core.$strict>>>;
|
|
3131
3132
|
instructions: z.ZodOptional<z.ZodString>;
|
|
3132
3133
|
providerDefinitionIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3133
|
-
settings: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
3134
3134
|
name: z.ZodString;
|
|
3135
3135
|
enabled: z.ZodBoolean;
|
|
3136
3136
|
bindings: z.ZodArray<z.ZodObject<{
|
|
@@ -13,9 +13,9 @@ declare const PreferenceKeySchema: z.ZodObject<{
|
|
|
13
13
|
scope: z.ZodString;
|
|
14
14
|
context: z.ZodOptional<z.ZodString>;
|
|
15
15
|
viewport: z.ZodOptional<z.ZodEnum<{
|
|
16
|
+
mobile: "mobile";
|
|
16
17
|
desktop: "desktop";
|
|
17
18
|
tablet: "tablet";
|
|
18
|
-
mobile: "mobile";
|
|
19
19
|
}>>;
|
|
20
20
|
}, z.core.$strip>;
|
|
21
21
|
type PreferenceKey = z.infer<typeof PreferenceKeySchema>;
|
|
@@ -33,9 +33,9 @@ declare const PreferenceItemSchema: z.ZodObject<{
|
|
|
33
33
|
scope: z.ZodString;
|
|
34
34
|
context: z.ZodOptional<z.ZodString>;
|
|
35
35
|
viewport: z.ZodOptional<z.ZodEnum<{
|
|
36
|
+
mobile: "mobile";
|
|
36
37
|
desktop: "desktop";
|
|
37
38
|
tablet: "tablet";
|
|
38
|
-
mobile: "mobile";
|
|
39
39
|
}>>;
|
|
40
40
|
}, z.core.$strip>;
|
|
41
41
|
category: z.ZodString;
|
|
@@ -67,9 +67,9 @@ declare const PreferencesSchemas: {
|
|
|
67
67
|
scope: z.ZodString;
|
|
68
68
|
context: z.ZodOptional<z.ZodString>;
|
|
69
69
|
viewport: z.ZodOptional<z.ZodEnum<{
|
|
70
|
+
mobile: "mobile";
|
|
70
71
|
desktop: "desktop";
|
|
71
72
|
tablet: "tablet";
|
|
72
|
-
mobile: "mobile";
|
|
73
73
|
}>>;
|
|
74
74
|
}, z.core.$strip>;
|
|
75
75
|
category: z.ZodString;
|
|
@@ -94,9 +94,9 @@ declare const PreferencesSchemas: {
|
|
|
94
94
|
scope: z.ZodString;
|
|
95
95
|
context: z.ZodOptional<z.ZodString>;
|
|
96
96
|
viewport: z.ZodOptional<z.ZodEnum<{
|
|
97
|
+
mobile: "mobile";
|
|
97
98
|
desktop: "desktop";
|
|
98
99
|
tablet: "tablet";
|
|
99
|
-
mobile: "mobile";
|
|
100
100
|
}>>;
|
|
101
101
|
}, z.core.$strip>;
|
|
102
102
|
category: z.ZodString;
|
|
@@ -122,9 +122,9 @@ declare const PreferencesSchemas: {
|
|
|
122
122
|
scope: z.ZodString;
|
|
123
123
|
context: z.ZodOptional<z.ZodString>;
|
|
124
124
|
viewport: z.ZodOptional<z.ZodEnum<{
|
|
125
|
+
mobile: "mobile";
|
|
125
126
|
desktop: "desktop";
|
|
126
127
|
tablet: "tablet";
|
|
127
|
-
mobile: "mobile";
|
|
128
128
|
}>>;
|
|
129
129
|
}, z.core.$strip>;
|
|
130
130
|
category: z.ZodString;
|
|
@@ -149,9 +149,9 @@ declare const PreferencesSchemas: {
|
|
|
149
149
|
scope: z.ZodOptional<z.ZodString>;
|
|
150
150
|
context: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
151
151
|
viewport: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
152
|
+
mobile: "mobile";
|
|
152
153
|
desktop: "desktop";
|
|
153
154
|
tablet: "tablet";
|
|
154
|
-
mobile: "mobile";
|
|
155
155
|
}>>>;
|
|
156
156
|
}, z.core.$strip>>;
|
|
157
157
|
category: z.ZodOptional<z.ZodString>;
|
|
@@ -166,9 +166,9 @@ declare const PreferencesSchemas: {
|
|
|
166
166
|
scope: z.ZodString;
|
|
167
167
|
context: z.ZodOptional<z.ZodString>;
|
|
168
168
|
viewport: z.ZodOptional<z.ZodEnum<{
|
|
169
|
+
mobile: "mobile";
|
|
169
170
|
desktop: "desktop";
|
|
170
171
|
tablet: "tablet";
|
|
171
|
-
mobile: "mobile";
|
|
172
172
|
}>>;
|
|
173
173
|
}, z.core.$strip>;
|
|
174
174
|
category: z.ZodString;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{n as e,o as t}from"./json-value-DM-EjTC1.mjs";import{S as n,r,u as i}from"./kind-registration-DdbhhvaT.mjs";import{t as a}from"./repo-context-cO-TLEGN.mjs";import{z as o}from"zod";const s=o.string().min(1).regex(/\S/),c=o.strictObject({refClass:o.literal(`artifact`),kind:s,id:s,revision:s}),l=`x-makaio-value-type`,u=`evidence/v1`,d=o.string().min(1).regex(/\S/),f=o.strictObject({kind:o.literal(`whole-source`)}),p=o.strictObject({kind:o.literal(`lines`),startLine:o.number().int().positive(),lineCount:o.number().int().positive()}),m=o.strictObject({kind:o.literal(`data-path`),path:r}),h=o.strictObject({kind:o.literal(`git-file`),repository:a.strict(),path:d,commit:o.string().regex(/^(?:[0-9a-fA-F]{40}|[0-9a-fA-F]{64})$/)}),g=o.strictObject({kind:o.literal(`confluence-page`),site:d,pageId:d,version:o.number().int().positive()}),_=o.strictObject({kind:o.literal(`artifact`),reference:c}),v=o.union([o.strictObject({source:h,location:o.union([f,p]),excerpt:o.string().optional()}),o.strictObject({source:g,location:f,excerpt:o.string().optional()}),o.strictObject({source:_,location:o.union([f,m]),excerpt:o.string().optional()})]).meta({title:`EvidenceValue`,description:`An immutable, directly cited source and its source-specific location.`,[l]:u}),y=o.string().regex(/^(?:\/(?:[^~/]|~[01])*)+$/,`Expected a data-relative JSON Pointer`),b=o.object({kind:o.string().min(1),id:o.string().min(1),displayName:o.string().optional()}),x=o.object({level:o.string().min(1),ids:o.record(o.string().min(1),o.string().min(1)).optional()}).superRefine((e,t)=>{e.level!==`global`&&(!e.ids||Object.keys(e.ids).length===0)&&t.addIssue({code:o.ZodIssueCode.custom,path:[`ids`],message:`ids is required when scope level is not 'global'`})}),S=o.object({level:o.string().min(1),ids:o.record(o.string().min(1),o.string().min(1)).optional()}),C=o.object({refClass:o.literal(`local`).default(`local`),artifact:c,localId:o.string().min(1)}),w=o.object({refClass:o.literal(`evidence`).default(`evidence`),kind:o.string().min(1),id:o.string().min(1),revision:o.string().min(1).optional(),locator:o.string().min(1).optional()}),T=o.strictObject({refClass:o.literal(`entity`),entityType:o.string().min(1),id:o.string().min(1)}),E=o.discriminatedUnion(`refClass`,[c,C,w,T]);function D(e){return!e||typeof e!=`object`||Array.isArray(e)||`refClass`in e?e:`artifact`in e&&`localId`in e?{...e,refClass:`local`}:`locator`in e||!(`revision`in e)?{...e,refClass:`evidence`}:{...e,refClass:`artifact`}}const O=o.preprocess(D,E),k=o.discriminatedUnion(`refClass`,[c.extend({revision:c.shape.revision.optional()}),C,w,T]);function A(e){return!e||typeof e!=`object`||Array.isArray(e)||`refClass`in e?e:`artifact`in e&&`localId`in e?{...e,refClass:`local`}:`locator`in e?{...e,refClass:`evidence`}:{...e,refClass:`artifact`}}const j=o.preprocess(A,k),M=o.object({type:o.string().min(1),sourceLocalId:o.string().min(1).regex(/\S/).optional(),target:O}),N=o.enum([`assumed`,`inferred`,`stated`,`confirmed`,`verified`]),P=o.object({kind:o.string().min(1),actor:b,timestamp:o.number().int().nonnegative(),detail:o.string().optional(),evidenceRef:O.optional()}),F=o.object({level:N,basis:o.array(P)}),I=o.object({id:o.string().min(1),kind:o.string().min(1),summary:o.string().min(1),detail:o.string().optional(),severity:o.enum([`info`,`warning`,`blocker`]).optional(),tags:o.array(o.string().min(1)).optional(),regarding:o.union([c,C]).optional(),evidence:o.union([c,w]).optional(),actor:b,timestamp:o.number().int().nonnegative()}),L=o.object({markdown:o.string().optional(),summary:o.string().optional(),plaintext:o.string().optional()}),R=o.object({kind:c.shape.kind,id:c.shape.id,slug:n,revision:c.shape.revision,scope:x,schemaVersion:i,data:e,relations:o.array(M),evidence:o.array(v).optional(),confidence:F.optional(),representations:L.optional(),actor:b,timestamp:o.number().int().nonnegative(),createdAt:o.number().int().nonnegative().optional()}),z=o.object({type:o.string().min(1),symmetry:o.enum([`asymmetric`,`symmetric`]),implication:o.string().min(1).optional(),sourceKinds:o.array(o.string().min(1)).optional(),targetKinds:o.array(o.string().min(1)).optional(),targetRefClasses:o.array(o.enum([`artifact`,`local`,`evidence`,`entity`])).optional()}),B=o.object({kind:o.string().min(1).optional(),scope:S.optional(),ids:o.array(o.string().min(1)).optional(),slug:n.optional(),currentOnly:o.boolean().optional(),search:o.string().optional(),relation:o.object({type:o.string().min(1).optional(),target:j.optional()}).optional(),confidence:o.object({maxLevel:N.optional(),minLevel:N.optional()}).optional(),indexed:o.record(o.string(),t).optional(),limit:o.number().int().min(1).optional()}),V=o.object({base:c,target:c}),H=o.object({base:R,target:R,changedPaths:o.array(o.string())});export{v as C,u as S,T as _,B as a,z as b,M as c,R as d,x as f,F as g,N as h,I as i,O as l,P as m,V as n,S as o,y as p,H as r,j as s,b as t,L as u,w as v,c as w,l as x,C as y};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as ProviderRuntimeSnapshot, S as ProviderConfigFileRecordSchema, T as AdapterSubsystemSchemas, _ as EffectiveAdapter, a as AdapterRuntimePackages, b as ProviderConfigAuthSummarySchema, c as AdapterRuntimeSnapshotErrorCode, d as AdapterRuntimeSnapshotResolutionSchema, f as AdapterRuntimeSnapshotSchema, g as CompatibleAuthOptionSchema, h as CompatibleAuthOption, i as AdapterReadinessSchema, l as AdapterRuntimeSnapshotErrorCodeSchema, m as BindingRecordSchema, n as AdapterFileConfigSchema, o as AdapterRuntimePackagesSchema, p as BindingRecord, r as AdapterReadiness, s as AdapterRuntimeSnapshot, t as AdapterFileConfig, u as AdapterRuntimeSnapshotResolution, v as EffectiveAdapterSchema, w as ProviderRuntimeSnapshotSchema, x as ProviderConfigFileRecord, y as ProviderConfigAuthSummary } from "../../schemas-
|
|
1
|
+
import { C as ProviderRuntimeSnapshot, S as ProviderConfigFileRecordSchema, T as AdapterSubsystemSchemas, _ as EffectiveAdapter, a as AdapterRuntimePackages, b as ProviderConfigAuthSummarySchema, c as AdapterRuntimeSnapshotErrorCode, d as AdapterRuntimeSnapshotResolutionSchema, f as AdapterRuntimeSnapshotSchema, g as CompatibleAuthOptionSchema, h as CompatibleAuthOption, i as AdapterReadinessSchema, l as AdapterRuntimeSnapshotErrorCodeSchema, m as BindingRecordSchema, n as AdapterFileConfigSchema, o as AdapterRuntimePackagesSchema, p as BindingRecord, r as AdapterReadiness, s as AdapterRuntimeSnapshot, t as AdapterFileConfig, u as AdapterRuntimeSnapshotResolution, v as EffectiveAdapterSchema, w as ProviderRuntimeSnapshotSchema, x as ProviderConfigFileRecord, y as ProviderConfigAuthSummary } from "../../schemas-D9pXu76T.mjs";
|
|
2
2
|
import { a as CreateCanonicalProviderConfigInput, c as AdapterFileConfigSet, i as CanonicalProviderConfigPatchSchema, l as IAdapterConfigRepository, n as CanonicalProviderConfigAuthPayload, o as CreateCanonicalProviderConfigInputPayload, r as CanonicalProviderConfigPatch, s as CreateCanonicalProviderConfigInputSchema, t as CanonicalProviderConfigAuth, u as ProviderConfigFileSet } from "../../index-BleQ0SR7.mjs";
|
|
3
|
-
import { n as AdapterSubsystemNamespace, r as AdapterSubsystemSubjects, t as ADAPTER_SUBSYSTEM_PACKAGE_NAME } from "../../namespace-
|
|
3
|
+
import { n as AdapterSubsystemNamespace, r as AdapterSubsystemSubjects, t as ADAPTER_SUBSYSTEM_PACKAGE_NAME } from "../../namespace-CNX4llM5.mjs";
|
|
4
4
|
export { ADAPTER_SUBSYSTEM_PACKAGE_NAME, AdapterFileConfig, AdapterFileConfigSchema, AdapterFileConfigSet, AdapterReadiness, AdapterReadinessSchema, AdapterRuntimePackages, AdapterRuntimePackagesSchema, AdapterRuntimeSnapshot, AdapterRuntimeSnapshotErrorCode, AdapterRuntimeSnapshotErrorCodeSchema, AdapterRuntimeSnapshotResolution, AdapterRuntimeSnapshotResolutionSchema, AdapterRuntimeSnapshotSchema, AdapterSubsystemNamespace, AdapterSubsystemSchemas, AdapterSubsystemSubjects, BindingRecord, BindingRecordSchema, CanonicalProviderConfigAuth, CanonicalProviderConfigAuthPayload, CanonicalProviderConfigPatch, CanonicalProviderConfigPatchSchema, CompatibleAuthOption, CompatibleAuthOptionSchema, CreateCanonicalProviderConfigInput, CreateCanonicalProviderConfigInputPayload, CreateCanonicalProviderConfigInputSchema, EffectiveAdapter, EffectiveAdapterSchema, IAdapterConfigRepository, ProviderConfigAuthSummary, ProviderConfigAuthSummarySchema, ProviderConfigFileRecord, ProviderConfigFileRecordSchema, ProviderConfigFileSet, ProviderRuntimeSnapshot, ProviderRuntimeSnapshotSchema };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as AdapterSubsystemNamespace, r as AdapterSubsystemSubjects, t as ADAPTER_SUBSYSTEM_PACKAGE_NAME } from "../../namespace-
|
|
1
|
+
import { n as AdapterSubsystemNamespace, r as AdapterSubsystemSubjects, t as ADAPTER_SUBSYSTEM_PACKAGE_NAME } from "../../namespace-CNX4llM5.mjs";
|
|
2
2
|
export { ADAPTER_SUBSYSTEM_PACKAGE_NAME, AdapterSubsystemNamespace, AdapterSubsystemSubjects };
|
|
@@ -160,8 +160,8 @@ declare const ResolvedContextRulesSchema: z.ZodObject<{
|
|
|
160
160
|
declare const ContextRuleChangedEventSchema: z.ZodObject<{
|
|
161
161
|
ruleId: z.ZodString;
|
|
162
162
|
changeType: z.ZodEnum<{
|
|
163
|
-
updated: "updated";
|
|
164
163
|
created: "created";
|
|
164
|
+
updated: "updated";
|
|
165
165
|
deleted: "deleted";
|
|
166
166
|
}>;
|
|
167
167
|
previous: z.ZodNullable<z.ZodObject<{
|
|
@@ -313,8 +313,8 @@ declare const ContextRulesServiceNamespace: _$_makaio_core0.BusNamespaceDefiniti
|
|
|
313
313
|
changed: _$zod.ZodObject<{
|
|
314
314
|
ruleId: _$zod.ZodString;
|
|
315
315
|
changeType: _$zod.ZodEnum<{
|
|
316
|
-
updated: "updated";
|
|
317
316
|
created: "created";
|
|
317
|
+
updated: "updated";
|
|
318
318
|
deleted: "deleted";
|
|
319
319
|
}>;
|
|
320
320
|
previous: _$zod.ZodNullable<_$zod.ZodObject<{
|
|
@@ -383,8 +383,8 @@ declare const ContextRulesServiceSubjects: _$_makaio_core0.BusSubjects<_$_makaio
|
|
|
383
383
|
changed: _$zod.ZodObject<{
|
|
384
384
|
ruleId: _$zod.ZodString;
|
|
385
385
|
changeType: _$zod.ZodEnum<{
|
|
386
|
-
updated: "updated";
|
|
387
386
|
created: "created";
|
|
387
|
+
updated: "updated";
|
|
388
388
|
deleted: "deleted";
|
|
389
389
|
}>;
|
|
390
390
|
previous: _$zod.ZodNullable<_$zod.ZodObject<{
|