buckyos 0.7.125 → 0.7.127

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 CHANGED
@@ -296,7 +296,8 @@ MsgCenter queue calls (`getNext`, `peekBox`, `listBoxByTime`) require `mailbox`
296
296
  in place of `owner`: `did:bns:alice/session-123` selects exactly that session;
297
297
  `did:bns:alice` selects only records without a session. Existing `session_id`
298
298
  values define the partitions, including automatically derived `dm:<peer DID>`
299
- and group sessions. Set `msg.thread.topic` to address a chosen session.
299
+ and group sessions. Set `msg.to_session` (MsgObject v2) to address a chosen session;
300
+ `msg.thread.topic` is only a semantic hint and never selects a session.
300
301
 
301
302
  ```ts
302
303
  import { mailboxAddress } from 'buckyos'
package/cli/dist/cli.mjs CHANGED
@@ -4865,7 +4865,7 @@ function invalid(stage, message, entry) {
4865
4865
  function stableJsonDigest(value) {
4866
4866
  return sha256Bytes(new TextEncoder().encode(ndn.toCanonicalJsonString(value)));
4867
4867
  }
4868
- const PACKAGE_VERSION = "0.7.125";
4868
+ const PACKAGE_VERSION = "0.7.127";
4869
4869
  const TOOL_VERSION = PACKAGE_VERSION;
4870
4870
  const SDK_VERSION = PACKAGE_VERSION;
4871
4871
  const PROTOCOL_VERSION = "1";
@@ -6328,6 +6328,7 @@ function createAppModule(dependencies = {}) {
6328
6328
  installCommand(dependencies),
6329
6329
  upgradeCommand(dependencies),
6330
6330
  uninstallCommand(dependencies),
6331
+ cancelCommand$1(),
6331
6332
  lifecycleCommand("start", "Start an installed App"),
6332
6333
  lifecycleCommand("stop", "Stop an installed App"),
6333
6334
  restartCommand(),
@@ -6345,6 +6346,34 @@ function createAppModule(dependencies = {}) {
6345
6346
  })
6346
6347
  };
6347
6348
  }
6349
+ function cancelCommand$1() {
6350
+ return {
6351
+ verb: "cancel",
6352
+ summary: "Cancel an installation or upgrade task and release its App mutation",
6353
+ positionals: [{ name: "task_id", description: "Installation Task ID", required: true }],
6354
+ options: [{
6355
+ name: "force",
6356
+ description: "Defer staging cleanup after cancellation",
6357
+ type: "boolean"
6358
+ }],
6359
+ inputSchema: {
6360
+ type: "object",
6361
+ properties: { task_id: { type: "string", minLength: 1 }, force: { type: "boolean" } },
6362
+ required: ["task_id"],
6363
+ additionalProperties: false
6364
+ },
6365
+ outputSchema: OBJECT_OUTPUT$4,
6366
+ resultSchemaVersion: 1,
6367
+ access: { mode: "fixed", level: "write" },
6368
+ asyncMode: "sync",
6369
+ requiresSession: true,
6370
+ examples: ["buckyos app cancel t-0123456789abcdef0123456789abcdef --force"],
6371
+ handler: async (ctx, input) => await callControl(ctx, "apps.install.cancel", {
6372
+ task_id: expectString$1(input, "task_id"),
6373
+ force: input.force === true
6374
+ })
6375
+ };
6376
+ }
6348
6377
  function fetchCommand(dependencies) {
6349
6378
  return {
6350
6379
  verb: "fetch",