@hearsay-tools/squawk 0.19.0-dev.8794 → 0.19.0-dev.8796
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/automations/tool-adapter.d.ts +10 -1
- package/dist/automations/tool-adapter.js +2 -0
- package/dist/automations/tool-adapter.js.map +1 -1
- package/dist/automations/tool-session.d.ts +1 -2
- package/dist/automations/tool-session.js +4 -3
- package/dist/automations/tool-session.js.map +1 -1
- package/dist/automations/tools.d.ts +8 -8
- package/dist/boot.js +4 -0
- package/dist/boot.js.map +1 -1
- package/dist/built-in-http-routes.js +4 -12
- package/dist/built-in-http-routes.js.map +1 -1
- package/dist/built-in-server-hooks.d.ts +9 -0
- package/dist/built-in-server-hooks.js +24 -0
- package/dist/built-in-server-hooks.js.map +1 -0
- package/dist/core/http-route-registry.d.ts +3 -5
- package/dist/core/http-route-registry.js.map +1 -1
- package/dist/core/server-hook-registry.d.ts +101 -0
- package/dist/core/server-hook-registry.js +56 -0
- package/dist/core/server-hook-registry.js.map +1 -0
- package/dist/plugin/api.d.ts +3 -0
- package/dist/plugin/api.js +10 -1
- package/dist/plugin/api.js.map +1 -1
- package/dist/plugin/cli.js +1 -1
- package/dist/plugin/cli.js.map +1 -1
- package/dist/plugin/index.d.ts +1 -0
- package/dist/plugin/index.js.map +1 -1
- package/dist/server/automation-log-retry.d.ts +4 -4
- package/dist/server/automations-routes.d.ts +776 -14
- package/dist/server/automations-routes.js +232 -48
- package/dist/server/automations-routes.js.map +1 -1
- package/dist/server/plugin-http-routes.d.ts +3 -2
- package/dist/server/plugin-http-routes.js +3 -3
- package/dist/server/plugin-http-routes.js.map +1 -1
- package/dist/server/plugin-server-hooks.d.ts +30 -0
- package/dist/server/plugin-server-hooks.js +160 -0
- package/dist/server/plugin-server-hooks.js.map +1 -0
- package/dist/server/project-context.d.ts +8 -7
- package/dist/server/project-context.js +17 -6
- package/dist/server/project-context.js.map +1 -1
- package/dist/server/runs-routes.d.ts +50 -47
- package/dist/server/runs-routes.js +2 -3
- package/dist/server/runs-routes.js.map +1 -1
- package/dist/server/server-deps.d.ts +1 -1
- package/dist/server/server-deps.js +4 -6
- package/dist/server/server-deps.js.map +1 -1
- package/dist/server/server.d.ts +97 -99
- package/dist/server/server.js +38 -13
- package/dist/server/server.js.map +1 -1
- package/dist/server/start-server.js +16 -150
- package/dist/server/start-server.js.map +1 -1
- package/dist/server/workspace-projects.d.ts +1 -1
- package/dist/workflows/run/compose.d.ts +2 -2
- package/dist/workflows/run/compose.js +3 -3
- package/dist/workflows/run/compose.js.map +1 -1
- package/dist/workflows/run/squawk-tools.d.ts +7 -7
- package/dist/workflows/run/squawk-tools.js +36 -16
- package/dist/workflows/run/squawk-tools.js.map +1 -1
- package/dist/workflows/run/types.d.ts +0 -8
- package/dist/workflows/run.d.ts +3 -3
- package/dist/workflows/run.js +1 -1
- package/dist/workflows/run.js.map +1 -1
- package/package.json +4 -4
package/dist/plugin/cli.js
CHANGED
|
@@ -6,7 +6,7 @@ Lists the plugins this process loaded, what each one registered, and the plugins
|
|
|
6
6
|
the reason: first the runners and features bundled with Squawk (source "bundled"), then the plugins in
|
|
7
7
|
<config>/plugins/ (source "host"). --json prints the same report as JSON.`;
|
|
8
8
|
const CONTRIBUTION_LABELS = [
|
|
9
|
-
['cliCommands', 'commands'], ['httpRoutes', 'HTTP routes'], ['runners', 'runners'], ['agentTools', 'agent tools'],
|
|
9
|
+
['cliCommands', 'commands'], ['httpRoutes', 'HTTP routes'], ['serverHooks', 'server hooks'], ['runners', 'runners'], ['agentTools', 'agent tools'],
|
|
10
10
|
['waitKinds', 'wait kinds'], ['stepKinds', 'step kinds'],
|
|
11
11
|
['removalSlots', 'removal slots'], ['runLifecycleListeners', 'run lifecycle listeners'],
|
|
12
12
|
['launchParts', 'launch parts'],
|
package/dist/plugin/cli.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cli.js","sourceRoot":"","sources":["../../src/plug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itKindRegistration, WaitLifecycle, WaitInputDescrip
|
|
|
9
9
|
export type { StepKindDefinition, StepKindContext, StepKindOutcome } from '../workflows/step-kind-registry.ts';
|
|
10
10
|
export type { CliCommandDefinition, RootCommandContext, SubcommandRunner } from '../core/cli-registry.ts';
|
|
11
11
|
export type { HttpBundleRouteDefinition, HttpHandlerRouteDefinition, HttpRouteBundleContext, HttpRouteContext, HttpRouteDefinition, HttpRouteMethod, HttpRouteScope, } from '../core/http-route-registry.ts';
|
|
12
|
+
export type { ProjectPluginState, ServerForgePort, ServerHookDefinition, ServerPluginContext, ServerProjectEntry, ServerProjectHandle, ServerProjectManagerPort, ServerStartContext, ServerWorkspaceEventsPort, } from '../core/server-hook-registry.ts';
|
|
12
13
|
export type { RunSlots, DeletionGate, DeletionGateContext, DeletionKind, ReclaimPreparation, ReclaimContext, RemovalCleanup } from '../runs/removal-slots.ts';
|
|
13
14
|
export type { LaunchCockpitAddress, LaunchPartContext, LaunchPartContribution, LaunchPartDefinition } from '../core/launch-registry.ts';
|
|
14
15
|
export type { RunLifecycleHandlers, RunLifecycleHandler, RunLifecycleEvents, RunLifecycleEventType } from '../runs/lifecycle.ts';
|
package/dist/plugin/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/plugin/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/plugin/index.ts"],"names":[],"mappings":"AAiCA,cAAc,iBAAiB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type ScheduleRunnerHandle } from '../automations/schedule-runner.ts';
|
|
2
|
-
import type {
|
|
2
|
+
import type { AutomationServiceProject } from '../automations/service.ts';
|
|
3
3
|
export type AutomationLogRetryResult = {
|
|
4
4
|
status: 202;
|
|
5
5
|
body: {
|
|
@@ -18,10 +18,10 @@ export type AutomationLogRetryResult = {
|
|
|
18
18
|
};
|
|
19
19
|
};
|
|
20
20
|
export interface AutomationLogRetryInput {
|
|
21
|
-
project:
|
|
21
|
+
project: AutomationServiceProject;
|
|
22
22
|
receiptId: string;
|
|
23
|
-
scheduleHandle: (project:
|
|
24
|
-
emitChange: (project:
|
|
23
|
+
scheduleHandle: (project: AutomationServiceProject) => ScheduleRunnerHandle;
|
|
24
|
+
emitChange: (project: AutomationServiceProject, automationId: string, revision: number) => void;
|
|
25
25
|
}
|
|
26
26
|
/** Retry a `launch-error` receipt: the same receipt, fired again by hand. */
|
|
27
27
|
export declare function retryAutomationLogReceipt(input: AutomationLogRetryInput): Promise<AutomationLogRetryResult>;
|