type: user/message

type: text

text: Run the advanced packaged-runtime snapshot scenario.

kind: user

surfaceOp: append


type: session/title

title: Run the advanced packaged-runtime snapsh

kind: fallback


type: request/header

provider: deepseek-official

model: smoke-model

reasoningEffort: high

[System] {{system}}

reason: initial


type: assistant/chunk

type: tool-call-delta

code:
return (ctx) => {
  harness.registerTool(ctx, harness.defineTool({
    name: 'snapshot_double',
    description: 'Double a number for executable snapshot verification.',
    parameters: { value: { type: 'number', required: true } },
    output: {
      schema: { type: 'number' },
      render(_args, value) {
        return [{ type: 'text', text: String(value) }]
      }
    },
    async execute(args) {
      return args.value * 2
    }
  }))
}


type: block-end

type: tool-call


type: assistant/message


type: tool/call

callId: advanced-mount


type: tool/result

text: Temporary Plugin dyn-1 is running (plugin "<anonymous>"; available until unmounted or DSH restarts).


[System] {{system}}

reason: change


code: return await tools.snapshot_double({ value: 21 })

description: Run the temporary Plugin tool


description: Run the temporary Plugin tool


description: Run the temporary Plugin tool


callId: advanced-code

description: Run the temporary Plugin tool


subagent

description: Check direct child

prompt: Reply with exactly DIRECT_CHILD_OK and nothing else.


description: Check direct child

prompt: Reply with exactly DIRECT_CHILD_OK and nothing else.


description: Check direct child

prompt: Reply with exactly DIRECT_CHILD_OK and nothing else.


callId: advanced-direct-child

description: Check direct child

prompt: Reply with exactly DIRECT_CHILD_OK and nothing else.


workflow

script:
phase('Delegate')
const reply = await agent('Reply with exactly WORKFLOW_CHILD_OK and nothing else.', { label: 'workflow-child' })
return { reply }

advanced-exe-snapshot

description: exercise one packaged workflow child


advanced-exe-snapshot

description: exercise one packaged workflow child


workflow

description: exercise one packaged workflow child


callId: advanced-workflow

advanced-exe-snapshot

description: exercise one packaged workflow child


text:
workflow "advanced-exe-snapshot" completed (1 agent).
Return value:
{
  "reply": "WORKFLOW_CHILD_OK"
}


callId: advanced-unmount

text: Temporary Plugin dyn-1 was unmounted and removed.