@nextclaw/shared 0.3.0 → 0.3.1-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +3 -1
- package/dist/index.d.ts.map +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -103,6 +103,7 @@ declare class DisposableStore implements Disposable {
|
|
|
103
103
|
//#endregion
|
|
104
104
|
//#region src/types/ui-show-content.types.d.ts
|
|
105
105
|
type UiShowContentPurpose = "read" | "preview" | "edit" | "interact";
|
|
106
|
+
type UiShowContentPlacement = "inline" | "side_panel";
|
|
106
107
|
type UiShowContentTarget = {
|
|
107
108
|
type: "file";
|
|
108
109
|
payload: {
|
|
@@ -127,6 +128,7 @@ type UiShowContentEventPayload = {
|
|
|
127
128
|
target: UiShowContentTarget;
|
|
128
129
|
title: string | undefined;
|
|
129
130
|
purpose: UiShowContentPurpose | undefined;
|
|
131
|
+
placement: UiShowContentPlacement | undefined;
|
|
130
132
|
};
|
|
131
133
|
//#endregion
|
|
132
134
|
//#region src/types/update.types.d.ts
|
|
@@ -338,5 +340,5 @@ type RuntimeModelSelectionMode = "nextclaw" | "optional" | "runtime-default";
|
|
|
338
340
|
declare function isRuntimeDefaultModelValue(value: unknown): boolean;
|
|
339
341
|
declare function normalizeRuntimeModelSelectionMode(value: unknown): RuntimeModelSelectionMode;
|
|
340
342
|
//#endregion
|
|
341
|
-
export { type AgentRunSendIngressPayload, type AgentRunSessionMessageRequestPayload, type AppEvent, type AppEventEmitOptions, type AppEventEnvelope, type AppEventHandler, type AppEventKey, type AppEventSource, type Cleanup, type Disposable, DisposableOwner, DisposableStore, EventBus, type EventBusOptions, type EventEmitOptions, type EventEnvelope, type EventHandler, type EventKey, type EventSource, type ExtensionChannelCommandExecuteIngressPayload, type ExtensionChannelCommandExecuteResponse, type ExtensionChannelCommandListIngressPayload, type ExtensionChannelCommandListResponse, type ExtensionChannelCommandOption, type ExtensionChannelCommandOptionType, type ExtensionChannelCommandSpec, type ExtensionChannelConfigGetIngressPayload, type ExtensionChannelFileContent, type ExtensionChannelImageContent, type ExtensionChannelMessageContent, type ExtensionChannelMessageSubmitIngressPayload, type ExtensionChannelSubmittedAttachment, type ExtensionChannelTextContent, type ExtensionResponseIngressPayload, Ingress, type IngressContext, type IngressEnvelope, type IngressHandler, type InstallationKind, type Key, RUNTIME_DEFAULT_MODEL_VALUE, type RuntimeModelSelectionMode, type TypedKey, type UiShowContentEventPayload, type UiShowContentPurpose, type UiShowContentTarget, type Unsubscribe, type UpdateBlockReason, type UpdatePreferences, type UpdateProgress, type UpdateSnapshot, type UpdateStatus, createAppEventKey, createEventKey, createTypedKey, eventKeys, getKeyId, ingressKeys, isRuntimeDefaultModelValue, normalizeRuntimeModelSelectionMode, toDisposable };
|
|
343
|
+
export { type AgentRunSendIngressPayload, type AgentRunSessionMessageRequestPayload, type AppEvent, type AppEventEmitOptions, type AppEventEnvelope, type AppEventHandler, type AppEventKey, type AppEventSource, type Cleanup, type Disposable, DisposableOwner, DisposableStore, EventBus, type EventBusOptions, type EventEmitOptions, type EventEnvelope, type EventHandler, type EventKey, type EventSource, type ExtensionChannelCommandExecuteIngressPayload, type ExtensionChannelCommandExecuteResponse, type ExtensionChannelCommandListIngressPayload, type ExtensionChannelCommandListResponse, type ExtensionChannelCommandOption, type ExtensionChannelCommandOptionType, type ExtensionChannelCommandSpec, type ExtensionChannelConfigGetIngressPayload, type ExtensionChannelFileContent, type ExtensionChannelImageContent, type ExtensionChannelMessageContent, type ExtensionChannelMessageSubmitIngressPayload, type ExtensionChannelSubmittedAttachment, type ExtensionChannelTextContent, type ExtensionResponseIngressPayload, Ingress, type IngressContext, type IngressEnvelope, type IngressHandler, type InstallationKind, type Key, RUNTIME_DEFAULT_MODEL_VALUE, type RuntimeModelSelectionMode, type TypedKey, type UiShowContentEventPayload, type UiShowContentPlacement, type UiShowContentPurpose, type UiShowContentTarget, type Unsubscribe, type UpdateBlockReason, type UpdatePreferences, type UpdateProgress, type UpdateSnapshot, type UpdateStatus, createAppEventKey, createEventKey, createTypedKey, eventKeys, getKeyId, ingressKeys, isRuntimeDefaultModelValue, normalizeRuntimeModelSelectionMode, toDisposable };
|
|
342
344
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":[],"sources":["../src/types/typed-key.types.ts","../src/types/event-bus.types.ts","../src/services/event-bus.service.ts","../src/services/ingress.service.ts","../src/services/disposable.service.ts","../src/types/ui-show-content.types.ts","../src/types/update.types.ts","../src/configs/event-keys.config.ts","../src/configs/ingress-keys.config.ts","../src/configs/runtime-model.config.ts"],"mappings":";;;KAAY,QAAA;EAAA,SACD,EAAA;EAAA,SACA,KAAA,GAAQ,CAAA;AAAA;AAAA,KAGP,GAAA,gBAAmB,QAAA,CAAS,CAAA;AAAA,iBAExB,cAAA,GAAA,CAAkB,EAAA,WAAa,QAAA,CAAS,CAAA;AAAA,iBAQxC,QAAA,CAAS,GAAA,EAAK,GAAA;;;KCblB,QAAA,MAAc,QAAA,CAAS,CAAA;AAAA,KAEvB,WAAA;AAAA,KAEA,aAAA;EACV,IAAA;EACA,OAAA,EAAS,CAAA;EACT,SAAA;EACA,MAAA,GAAS,WAAA;AAAA;AAAA,KAGC,gBAAA;EACV,SAAA;EACA,MAAA,GAAS,WAAA;AAAA;AAAA,KAGC,YAAA,OAAmB,OAAA,EAAS,CAAA,EAAG,QAAA,EAAU,aAAA,CAAc,CAAA;AAAA,KAEvD,WAAA;AAAA,KAEA,eAAA;EACV,iBAAA;EACA,eAAA,IAAmB,MAAA;IACjB,IAAA;IACA,OAAA;IACA,KAAA;EAAA;EAEF,eAAA;AAAA;AAAA,KAGU,WAAA,MAAiB,GAAA,CAAI,CAAA;AAAA,KACrB,cAAA,GAAiB,WAAA;AAAA,KACjB,gBAAA,gBAAgC,aAAA,CAAc,CAAA;AAAA,KAC9C,mBA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AAA,0CACP,QAAA,EAAU,eAAA,CAAgB,QAAA,GAC1B,OAAA,EAAS,cAAA,KACR,OAAA,CAAQ,OAAA;AAAA;;;KCzCD,OAAA;AAAA,KAEA,UAAA;EACV,OAAA;AAAA;AAAA,cA+BW,YAAA,GAAgB,OAAA,EAAS,OAAA,KAAU,UAAA;AAAA,uBAI1B,eAAA,YAA2B,UAAA;EAAA,mBAC5B,QAAA,EAAU,OAAA;EAAA,QACrB,QAAA;EAAA,cAEM,UAAA,CAAA;EAAA,UAIJ,UAAA,GAAc,OAAA,EAAS,OAAA,KAAU,OAAA;EAAA,UAUjC,aAAA,aAA2B,UAAA,EAAY,UAAA,EAAY,CAAA,KAAI,CAAA;EAOjE,OAAA;AAAA;AAAA,cAUW,eAAA,YAA2B,UAAA;EAAA,iBACrB,WAAA;EAAA,QAET,UAAA;EAER,GAAA,aAAiB,UAAA,EAAY,UAAA,EAAY,CAAA,KAAI,CAAA;EAS7C,KAAA;EAQA,OAAA;AAAA;;;KC/FU,oBAAA;AAAA,KAEA,mBAAA;EAEN,IAAA;EACA,OAAA;IACE,IAAA;IACA,IAAA;IACA,MAAA;EAAA;AAAA;EAIF,IAAA;EACA,OAAA;IACE,GAAA;EAAA;AAAA;EAIF,IAAA;EACA,OAAA;IACE,KAAA;EAAA;AAAA;AAAA,KAII,yBAAA;EACV,EAAA;EACA,UAAA;EACA,MAAA,EAAQ,mBAAA;EACR,KAAA;EACA,OAAA,EAAS,oBAAA;AAAA;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../src/types/typed-key.types.ts","../src/types/event-bus.types.ts","../src/services/event-bus.service.ts","../src/services/ingress.service.ts","../src/services/disposable.service.ts","../src/types/ui-show-content.types.ts","../src/types/update.types.ts","../src/configs/event-keys.config.ts","../src/configs/ingress-keys.config.ts","../src/configs/runtime-model.config.ts"],"mappings":";;;KAAY,QAAA;EAAA,SACD,EAAA;EAAA,SACA,KAAA,GAAQ,CAAA;AAAA;AAAA,KAG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AA,CAAK,oBAAA;EACJ,OAAA;EACA,QAAA,GAAW,2BAAA;EACX,MAAA;AAAA,MAED,IAAA,CAAK,oBAAA;EACJ,OAAA,EAAS,cAAA;EACT,QAAA,GAAW,2BAAA;EACX,OAAA;EACA,MAAA;AAAA;AAAA,cAGO,WAAA;EAAA;;;;;;;;;;;;;;;cCzIA,2BAAA;AAAA,KAED,yBAAA;AAAA,iBAKI,0BAAA,CAA2B,KAAA;AAAA,iBAI3B,kCAAA,CACd,KAAA,YACC,yBAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nextclaw/shared",
|
|
3
|
-
"version": "0.3.0",
|
|
3
|
+
"version": "0.3.1-beta.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Shared lightweight primitives and contracts for NextClaw packages.",
|
|
6
6
|
"type": "module",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"dist"
|
|
16
16
|
],
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@nextclaw/ncp": "0.6.
|
|
18
|
+
"@nextclaw/ncp": "0.6.4-beta.0"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
21
|
"@types/node": "^20.17.6",
|