@astrosheep/square 0.3.106 → 0.4.1

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.
Files changed (206) hide show
  1. package/dist/activity-feed.js +1 -1
  2. package/dist/artifact-store.d.ts +41 -0
  3. package/dist/artifact-store.js +272 -0
  4. package/dist/artifact.d.ts +6 -12
  5. package/dist/artifact.js +43 -344
  6. package/dist/attention-presentation.d.ts +13 -7
  7. package/dist/attention-presentation.js +29 -68
  8. package/dist/boundary-presentation.d.ts +3 -16
  9. package/dist/boundary-presentation.js +29 -109
  10. package/dist/card-presentation.d.ts +1 -0
  11. package/dist/card-presentation.js +2 -0
  12. package/dist/catch-decisions.d.ts +2 -2
  13. package/dist/catch-decisions.js +7 -3
  14. package/dist/catch-selection.d.ts +8 -0
  15. package/dist/catch-selection.js +5 -0
  16. package/dist/claude-delivery.d.ts +14 -12
  17. package/dist/claude-delivery.js +42 -142
  18. package/dist/claude-mcp-context.js +2 -2
  19. package/dist/claude-mod.js +28 -140
  20. package/dist/claude-transport.d.ts +5 -0
  21. package/dist/claude-transport.js +34 -0
  22. package/dist/cli/context.d.ts +2 -2
  23. package/dist/cli/context.js +7 -10
  24. package/dist/cli/maintenance-commands.d.ts +0 -4
  25. package/dist/cli/maintenance-commands.js +2 -29
  26. package/dist/cli/observation-commands.d.ts +2 -0
  27. package/dist/cli/observation-commands.js +12 -2
  28. package/dist/cli/program.js +1 -1
  29. package/dist/cli/registry.js +4 -3
  30. package/dist/codex-address.d.ts +2 -2
  31. package/dist/codex-boundary-state.d.ts +1 -5
  32. package/dist/codex-boundary-state.js +0 -4
  33. package/dist/codex-hook.d.ts +7 -10
  34. package/dist/codex-hook.js +69 -33
  35. package/dist/codex-queue.d.ts +10 -11
  36. package/dist/codex-queue.js +32 -34
  37. package/dist/codex-watch.d.ts +2 -0
  38. package/dist/codex-watch.js +100 -0
  39. package/dist/decisions.js +3 -3
  40. package/dist/delivery-deferral.d.ts +1 -19
  41. package/dist/delivery-deferral.js +1 -29
  42. package/dist/delivery-frame.d.ts +7 -0
  43. package/dist/delivery-frame.js +11 -0
  44. package/dist/delivery-ledger-sqlite.d.ts +97 -0
  45. package/dist/delivery-ledger-sqlite.js +496 -0
  46. package/dist/delivery-ledger.d.ts +196 -0
  47. package/dist/delivery-ledger.js +268 -0
  48. package/dist/delivery-lifetime.d.ts +6 -0
  49. package/dist/delivery-lifetime.js +45 -0
  50. package/dist/harness-links.js +61 -7
  51. package/dist/harness.js +12 -17
  52. package/dist/help.js +3 -6
  53. package/dist/http-delivery.d.ts +5 -9
  54. package/dist/http-delivery.js +20 -79
  55. package/dist/inbox.d.ts +6 -57
  56. package/dist/inbox.js +24 -380
  57. package/dist/index.d.ts +7 -4
  58. package/dist/index.js +5 -2
  59. package/dist/mcp.d.ts +2 -1
  60. package/dist/mcp.js +40 -70
  61. package/dist/message.d.ts +7 -0
  62. package/dist/message.js +23 -0
  63. package/dist/model.d.ts +15 -91
  64. package/dist/model.js +2 -140
  65. package/dist/neutral.d.ts +72 -0
  66. package/dist/neutral.js +27 -0
  67. package/dist/notifications.d.ts +24 -26
  68. package/dist/notifications.js +39 -143
  69. package/dist/operation-control.d.ts +4 -0
  70. package/dist/operation-control.js +20 -0
  71. package/dist/operation-presentation.d.ts +1 -2
  72. package/dist/operation-presentation.js +1 -7
  73. package/dist/owner.d.ts +2 -2
  74. package/dist/owner.js +1 -1
  75. package/dist/packages/agent-delivery/src/claude-native.d.ts +2 -0
  76. package/dist/packages/agent-delivery/src/claude-native.js +5 -0
  77. package/dist/packages/agent-delivery/src/codex-boundary.d.ts +11 -6
  78. package/dist/packages/agent-delivery/src/codex-boundary.js +31 -40
  79. package/dist/packages/agent-delivery/src/codex-hook.d.ts +17 -12
  80. package/dist/packages/agent-delivery/src/codex-hook.js +26 -39
  81. package/dist/packages/agent-delivery/src/codex.d.ts +3 -0
  82. package/dist/packages/agent-delivery/src/codex.js +41 -4
  83. package/dist/packages/agent-delivery/src/index.d.ts +3 -1
  84. package/dist/packages/agent-delivery/src/index.js +1 -1
  85. package/dist/packages/agent-delivery/src/paseo.js +11 -2
  86. package/dist/packages/agent-delivery/src/types.d.ts +1 -0
  87. package/dist/paseo-delivery.d.ts +5 -5
  88. package/dist/paseo-delivery.js +19 -99
  89. package/dist/paseo.d.ts +1 -1
  90. package/dist/paseo.js +1 -1
  91. package/dist/plugins/opencode/index.d.ts +5 -3
  92. package/dist/plugins/opencode/index.js +99 -21
  93. package/dist/plugins/opencode-shared/delivery.d.ts +23 -0
  94. package/dist/plugins/opencode-shared/delivery.js +109 -0
  95. package/dist/plugins/opencode-v1/index.d.ts +28 -0
  96. package/dist/plugins/opencode-v1/index.js +41 -0
  97. package/dist/plugins/opencode-v1/runtime.d.ts +56 -0
  98. package/dist/plugins/opencode-v1/runtime.js +152 -0
  99. package/dist/plugins/opencode-v1/transport.d.ts +13 -0
  100. package/dist/plugins/opencode-v1/transport.js +50 -0
  101. package/dist/plugins/paseo/shared/card-presentation.d.ts +10 -0
  102. package/dist/plugins/paseo/shared/card-presentation.js +7 -0
  103. package/dist/ports.d.ts +33 -214
  104. package/dist/presentation.d.ts +5 -5
  105. package/dist/presentation.js +1 -0
  106. package/dist/runtime.js +2 -2
  107. package/dist/search.js +1 -1
  108. package/dist/session-lifecycle.d.ts +8 -7
  109. package/dist/session-lifecycle.js +40 -42
  110. package/dist/sqlite-framing.d.ts +8 -0
  111. package/dist/sqlite-framing.js +31 -0
  112. package/dist/sqlite-square.d.ts +16 -26
  113. package/dist/sqlite-square.js +199 -262
  114. package/dist/sqlite-values.d.ts +21 -0
  115. package/dist/sqlite-values.js +78 -0
  116. package/dist/square-api.d.ts +1 -1
  117. package/dist/square-api.js +5 -8
  118. package/dist/square-core.d.ts +0 -1
  119. package/dist/square-domain.d.ts +12 -10
  120. package/dist/square-domain.js +105 -223
  121. package/dist/square-facade.d.ts +25 -76
  122. package/dist/square-location.d.ts +6 -1
  123. package/dist/square-location.js +1 -1
  124. package/dist/square-post.d.ts +53 -0
  125. package/dist/square-post.js +4 -0
  126. package/dist/square-posting.d.ts +13 -0
  127. package/dist/square-posting.js +174 -0
  128. package/dist/square-producer-sqlite.d.ts +11 -0
  129. package/dist/square-producer-sqlite.js +210 -0
  130. package/dist/square-receive.d.ts +2 -3
  131. package/dist/square-sqlite.d.ts +33 -42
  132. package/dist/square-sqlite.js +236 -768
  133. package/dist/square-tools.d.ts +8 -0
  134. package/dist/square-tools.js +39 -0
  135. package/dist/square-values.d.ts +27 -0
  136. package/dist/square-values.js +90 -0
  137. package/dist/views.d.ts +6 -6
  138. package/dist/views.js +14 -9
  139. package/dist/wake-sink.d.ts +4 -11
  140. package/dist/wake-sink.js +8 -32
  141. package/dist/wake-transports.d.ts +4 -0
  142. package/dist/wake-transports.js +11 -0
  143. package/examples/symmetric-domains.mjs +29 -249
  144. package/guides/change-waits.md +13 -53
  145. package/guides/claude-native.md +19 -172
  146. package/guides/codex-delivery.md +55 -78
  147. package/guides/delivery-primitives.md +48 -207
  148. package/guides/operation-cancellation.md +2 -5
  149. package/guides/participant-ownership.md +25 -89
  150. package/guides/pi-native-delivery.md +19 -56
  151. package/guides/pi-tools.md +6 -8
  152. package/guides/row-runtime-delivery-evidence.md +2 -0
  153. package/guides/row-storage-design.md +19 -44
  154. package/guides/square-api.md +113 -538
  155. package/package.json +8 -8
  156. package/plugins/claude/.claude-plugin/plugin.json +1 -1
  157. package/plugins/claude/hooks/hooks.json +1 -1
  158. package/plugins/claude/{hooks/register.js → mods/square.js} +4 -7
  159. package/plugins/claude/types.d.ts +1 -1
  160. package/plugins/codex/.codex-plugin/plugin.json +1 -1
  161. package/plugins/codex/hooks/hooks.json +11 -23
  162. package/plugins/opencode/index.ts +91 -23
  163. package/plugins/opencode-shared/delivery.ts +91 -0
  164. package/plugins/opencode-v1/index.ts +36 -0
  165. package/plugins/opencode-v1/runtime.ts +134 -0
  166. package/plugins/opencode-v1/transport.ts +41 -0
  167. package/plugins/paseo/OVERVIEW.md +5 -5
  168. package/plugins/paseo/README.md +7 -6
  169. package/plugins/paseo/client/markdown.tsx +5 -5
  170. package/plugins/paseo/client/square-message.tsx +28 -24
  171. package/plugins/paseo/client/transform.ts +8 -5
  172. package/plugins/paseo/shared/card-presentation.ts +16 -0
  173. package/plugins/paseo/shared/message.ts +6 -11
  174. package/plugins/pi/square-pi.js +167 -451
  175. package/dist/channel.d.ts +0 -74
  176. package/dist/channel.js +0 -92
  177. package/dist/claude-delivery-status.d.ts +0 -13
  178. package/dist/claude-delivery-status.js +0 -46
  179. package/dist/cmd/notify-once.d.ts +0 -2
  180. package/dist/cmd/notify-once.js +0 -29
  181. package/dist/delivery-attempts.d.ts +0 -52
  182. package/dist/delivery-attempts.js +0 -73
  183. package/dist/delivery-effects.d.ts +0 -139
  184. package/dist/delivery-effects.js +0 -163
  185. package/dist/delivery-health.d.ts +0 -51
  186. package/dist/delivery-health.js +0 -173
  187. package/dist/delivery-operations.d.ts +0 -9
  188. package/dist/delivery-operations.js +0 -168
  189. package/dist/delivery-primitives.d.ts +0 -5
  190. package/dist/delivery-primitives.js +0 -3
  191. package/dist/delivery.d.ts +0 -45
  192. package/dist/delivery.js +0 -106
  193. package/dist/plugins/opencode/delivery.d.ts +0 -19
  194. package/dist/plugins/opencode/delivery.js +0 -238
  195. package/dist/presentation-operations.d.ts +0 -18
  196. package/dist/presentation-operations.js +0 -86
  197. package/dist/square-index.d.ts +0 -16
  198. package/dist/square-index.js +0 -106
  199. package/dist/square-legacy-framing.d.ts +0 -11
  200. package/dist/square-legacy-framing.js +0 -64
  201. package/dist/square-migration-host-ledger.d.ts +0 -26
  202. package/dist/square-migration-host-ledger.js +0 -169
  203. package/dist/square-migration.d.ts +0 -30
  204. package/dist/square-migration.js +0 -599
  205. package/guides/migration.md +0 -156
  206. package/plugins/opencode/delivery.ts +0 -211
@@ -1,47 +1,45 @@
1
- import { Square } from './square-api.js';
2
- import { harnessOwner } from './owner.js';
3
- import { projectSessionCandidates, projectSessionSeats } from './inbox.js';
4
- function ownerFor(provider, sessionId) {
5
- return harnessOwner({ channel: provider === 'claude' ? 'claude-code' : provider, session: sessionId });
1
+ import { DeliveryLedger, deliveryLedgerLocation } from './delivery-ledger.js';
2
+ function openLedger(env) {
3
+ return DeliveryLedger.open({ location: deliveryLedgerLocation(env) });
6
4
  }
7
- /** Host shutdown suspends execution, not membership. Discovery never grants custody. */
8
- export async function detachSessionSeats(provider, sessionId, env = process.env) {
9
- const owner = ownerFor(provider, sessionId);
10
- for (const { location, seat } of await projectSessionSeats({ owner, env })) {
11
- let square;
12
- try {
13
- square = await Square.at({ path: location, env });
14
- await square.detach(seat.participant, { owner, generation: seat.generation });
15
- }
16
- catch { /* One unavailable or replaced seat must not block cleanup of the others. */ }
17
- finally {
18
- await square?.close();
19
- }
20
- }
5
+ /** Rotate the captured session generation; omitted routes retain its registrations. */
6
+ export async function attachDeliverySession(owner, env = process.env, routes, signal) {
7
+ return attach(owner, env, routes, false, signal);
8
+ }
9
+ /** Replace the supplied route kinds while preserving every other registered route. */
10
+ export async function attachDeliverySessionRoutes(owner, env = process.env, routes, signal) {
11
+ return attach(owner, env, routes, true, signal);
21
12
  }
22
- /** Restore only detached, standing seats of this exact owner before starting a receiver. */
23
- export async function restoreSessionSeats(owner, env = process.env, wakeAddress, signal) {
24
- const locations = new Set((await projectSessionCandidates({ owner, env })).map(candidate => candidate.location));
25
- for (const location of locations) {
13
+ async function attach(owner, env, routes, merge, signal) {
14
+ if (signal?.aborted)
15
+ return false;
16
+ const ledger = await openLedger(env);
17
+ try {
18
+ const previous = await ledger.session(owner);
26
19
  if (signal?.aborted)
27
- return;
28
- let square;
29
- try {
30
- square = await Square.at({ path: location, env }, { signal });
31
- for (const seat of await square.seatsOf(owner)) {
32
- if (signal?.aborted)
33
- return;
34
- if (seat.attachment !== 'detached')
35
- continue;
36
- try {
37
- await square.reattach(seat.name, { owner, wakeAddress }, { signal });
38
- }
39
- catch { /* A replacement or one failed seat does not block its peers. */ }
40
- }
41
- }
42
- catch { /* An indexed location is only a candidate, not a promise of availability. */ }
43
- finally {
44
- await square?.close();
45
- }
20
+ return false;
21
+ const selected = merge && routes ? [...(previous?.routes ?? []).filter(old => !routes.some(route => route.kind === old.kind)), ...routes] : routes ?? previous?.routes ?? [];
22
+ return await ledger.attach({ owner, expectedGeneration: previous?.generation ?? null, routes: selected });
23
+ }
24
+ finally {
25
+ await ledger.close();
26
+ }
27
+ }
28
+ export async function detachDeliverySession(owner, generation, env = process.env) {
29
+ const ledger = await openLedger(env);
30
+ try {
31
+ return await ledger.detach({ owner, generation });
32
+ }
33
+ finally {
34
+ await ledger.close();
35
+ }
36
+ }
37
+ export async function markDeliverySessionDeleted(owner, generation, env = process.env) {
38
+ const ledger = await openLedger(env);
39
+ try {
40
+ return await ledger.markDeleted({ owner, generation });
41
+ }
42
+ finally {
43
+ await ledger.close();
46
44
  }
47
45
  }
@@ -0,0 +1,8 @@
1
+ import type { DatabaseSync } from 'node:sqlite';
2
+ /** The only schema owned by the shared physical store. */
3
+ export declare const STORAGE_META_SQL = "CREATE TABLE storage_meta (\n id INTEGER PRIMARY KEY CHECK (id = 1),\n revision INTEGER NOT NULL CHECK (revision BETWEEN 0 AND 9007199254740991),\n delivery_revision INTEGER NOT NULL CHECK (delivery_revision BETWEEN 0 AND 9007199254740991)\n);";
4
+ export declare function initializeStorageMeta(db: DatabaseSync, revision?: number): void;
5
+ export declare function resetStorageMeta(db: DatabaseSync): void;
6
+ export declare function readStorageRevision(db: DatabaseSync, delivery?: boolean): number;
7
+ /** Compare an owner's complete current schema and journal mode without modifying the database. */
8
+ export declare function validateSchema(db: DatabaseSync, expectedSql: string, location?: string): void;
@@ -0,0 +1,31 @@
1
+ import { integer, requireFact, string } from './sqlite-values.js';
2
+ /** The only schema owned by the shared physical store. */
3
+ export const STORAGE_META_SQL = `CREATE TABLE storage_meta (
4
+ id INTEGER PRIMARY KEY CHECK (id = 1),
5
+ revision INTEGER NOT NULL CHECK (revision BETWEEN 0 AND 9007199254740991),
6
+ delivery_revision INTEGER NOT NULL CHECK (delivery_revision BETWEEN 0 AND 9007199254740991)
7
+ );`;
8
+ export function initializeStorageMeta(db, revision = 0) {
9
+ integer(revision);
10
+ db.exec(STORAGE_META_SQL);
11
+ db.prepare('INSERT INTO storage_meta(id,revision,delivery_revision) VALUES(1,?,0)').run(revision);
12
+ }
13
+ export function resetStorageMeta(db) {
14
+ db.exec('DROP TABLE storage_meta');
15
+ }
16
+ export function readStorageRevision(db, delivery = false) {
17
+ const rows = db.prepare(`SELECT id, ${delivery ? 'delivery_revision' : 'revision'} AS revision FROM storage_meta`).all();
18
+ requireFact(rows.length === 1 && rows[0].id === 1, 'revision header is malformed.');
19
+ return integer(rows[0].revision);
20
+ }
21
+ function normalizedSql(sql) {
22
+ return sql.trim().replace(/;$/, '').replace(/\s+/g, ' ').replace(/\s*([(),=])\s*/g, '$1');
23
+ }
24
+ /** Compare an owner's complete current schema and journal mode without modifying the database. */
25
+ export function validateSchema(db, expectedSql, location = '') {
26
+ const expected = expectedSql.split(';').map(s => s.trim()).filter(Boolean).map(normalizedSql).sort();
27
+ const actual = db.prepare("SELECT sql FROM sqlite_schema WHERE name NOT GLOB 'sqlite_*' AND sql IS NOT NULL").all()
28
+ .map(row => normalizedSql(string(row.sql))).sort();
29
+ requireFact(actual.length === expected.length && actual.every((sql, index) => sql === expected[index]), 'unsupported row schema.');
30
+ requireFact(db.prepare('PRAGMA journal_mode').get().journal_mode === (location === ':memory:' ? 'memory' : 'delete'), 'unsupported journal mode.');
31
+ }
@@ -1,42 +1,46 @@
1
1
  import { type Owner } from './model.js';
2
- import type { HistoryQuery, HistoryResult, JoinOptions, JoinResult, LifecycleResult, ObservationOptions, OperationControl, Participant, SquareAtInput, SquareBuildInput, SquareLocation, StatusOptions, StatusResult, ParticipantsResult, RecoveryResult, DiscoveryOptions, InboxOptions, InboxResult, StreamOptions, StreamRecord, Activity, PerceivedActivity, ChannelSendInput, ChannelSendResult } from './square-facade.js';
2
+ import type { HistoryQuery, HistoryResult, JoinOptions, JoinResult, ObservationOptions, OperationControl, Participant, SquareAtInput, SquareBuildInput, SquareLocation, StatusOptions, StatusResult, ParticipantsResult, RecoveryResult, DiscoveryOptions, InboxOptions, InboxResult, StreamOptions, StreamRecord, Activity, PerceivedActivity, SendInput, SendResult } from './square-facade.js';
3
3
  export type * from './square-facade.js';
4
4
  export { createSquareResourceOwner } from './artifact.js';
5
+ export { squareClock } from './operation-control.js';
5
6
  export { formatActivityId, parseActivityId, MAX_IDENTITY_SET_SIZE } from './square-core.js';
6
7
  export { CATCH_DEFAULT_LIMIT, CATCH_MAX_LIMIT } from './catch-decisions.js';
7
8
  export { HISTORY_DEFAULT_LIMIT, HISTORY_MAX_LIMIT } from './views.js';
8
9
  export { DEFAULT_LIST_DEPTH, MAX_LIST_DEPTH, DEFAULT_LIST_LIMIT, MAX_LIST_LIMIT } from './list.js';
9
- export declare function squareClock(env: NodeJS.ProcessEnv, clock?: () => number): () => number;
10
10
  /** One concrete local resource, including its entry-resolved dependencies and lifetime. */
11
11
  export declare class SqliteSquare {
12
12
  readonly location: string;
13
13
  private readonly artifact;
14
14
  private readonly clock;
15
- private readonly wakeTransport?;
16
- private readonly indexPath?;
15
+ private readonly env;
17
16
  private readonly closesArtifact;
18
17
  private readonly deliveryLocation;
19
18
  private constructor();
19
+ private reconcile;
20
+ private flush;
20
21
  static at(input: SquareAtInput, control?: OperationControl): Promise<SqliteSquare>;
21
22
  static build(input: SquareBuildInput, control?: OperationControl): Promise<SqliteSquare>;
22
23
  static inMemory(input: Omit<SquareBuildInput, 'path' | 'resources'>): SqliteSquare;
23
- /** Discovery is best effort and never grants write authority. */
24
- private publishSeat;
24
+ /** Join establishes membership and local producer custody in one transaction. */
25
+ private joinSeat;
26
+ private requiredSeat;
25
27
  private observation;
26
28
  private contextObservation;
29
+ /** Host liveness is a read-only, non-atomic overlay; it never changes membership. */
30
+ private withHostPresence;
27
31
  private handle;
28
32
  private static readonly ParticipantHandle;
29
- /** Direct messages use explicit recipients, not participant expression admission or body attention. */
30
- send(input: ChannelSendInput, control?: OperationControl): Promise<ChannelSendResult>;
31
- participant(name: string, { owner }: {
33
+ send(input: SendInput, control?: OperationControl): Promise<SendResult>;
34
+ participant(name: string, options: {
32
35
  readonly owner: Owner;
33
36
  }): Promise<Participant>;
34
37
  join(requested: string, options: JoinOptions, control?: OperationControl): Promise<JoinResult>;
35
- /** Restore only a standing seat; a concurrent departure or takeover cannot be revived. */
36
- reattach(name: string, { owner, wakeAddress }: Pick<JoinOptions, 'owner' | 'wakeAddress'>, control?: OperationControl): Promise<Participant | null>;
37
38
  history(query?: HistoryQuery, control?: OperationControl): Promise<HistoryResult>;
38
39
  status(options?: StatusOptions, control?: OperationControl): Promise<StatusResult>;
39
- participants(options?: ObservationOptions, control?: OperationControl): Promise<ParticipantsResult>;
40
+ /** Local mode reads only World-known facts; it does not verify host attachment. */
41
+ participants(options?: ObservationOptions & {
42
+ readonly local?: boolean;
43
+ }, control?: OperationControl): Promise<ParticipantsResult>;
40
44
  recovery(requested?: string, control?: OperationControl): Promise<RecoveryResult>;
41
45
  stream(options: StreamOptions & {
42
46
  readonly recipient: string;
@@ -47,21 +51,7 @@ export declare class SqliteSquare {
47
51
  stream(options: StreamOptions, control?: OperationControl): AsyncIterable<StreamRecord>;
48
52
  seatsOf(owner: Owner): Promise<readonly import('./square-facade.js').HeldSeat[]>;
49
53
  close(): Promise<void>;
50
- private heldSeat;
51
- cancelDeliveries(name: string, identity: {
52
- readonly owner: Owner;
53
- readonly generation: import('./square-core.js').ActivityId;
54
- }): Promise<boolean>;
55
- detach(name: string, identity: {
56
- readonly owner: Owner;
57
- readonly generation: import('./square-core.js').ActivityId;
58
- }): Promise<true | null>;
59
- endHeld(name: string, identity: {
60
- readonly owner: Owner;
61
- readonly generation: import('./square-core.js').ActivityId;
62
- }): Promise<LifecycleResult | null>;
63
54
  }
64
55
  export declare function diagnoseSquare(input: SquareLocation, control?: OperationControl): Promise<import("./artifact.js").DiagnoseResult>;
65
- export declare function migrateSquare(input: SquareLocation, control?: OperationControl): Promise<import("./square-migration.js").MigrationOutcome>;
66
56
  export declare function discover(input: SquareAtInput, options?: DiscoveryOptions, control?: OperationControl): Promise<import("./square-facade.js").DiscoveryResult>;
67
57
  export declare function inbox(input: SquareAtInput, owner: Owner, options?: InboxOptions, control?: OperationControl): Promise<InboxResult>;