瀏覽代碼

refactor(sdk): relocate JSON-RPC example and runtime without edits

Move examples/jsonrpc-agent to examples/python-sdk-agent and packages/examples/jsonrpc-demo to packages/sdk/python-runtime while preserving every file byte-for-byte. The directory placement now reflects the example's Python-distribution role and the private runtime carrier's SDK ownership.

This commit deliberately keeps the old package names, commands, configuration, and snapshots inside their new directories. All 42 files are 100% renames; API/profile migration and naming changes follow separately so reviewers do not have to disentangle behavior from filesystem movement.
Tianyi Cui 3 周之前
父節點
當前提交
f3402eff58
共有 42 個文件被更改,包括 0 次插入0 次删除
  1. 0 0
      examples/python-sdk-agent/README.i18n.yaml
  2. 0 0
      examples/python-sdk-agent/README.md
  3. 0 0
      examples/python-sdk-agent/README.zh.md
  4. 0 0
      examples/python-sdk-agent/cordis.snapshot.yml
  5. 0 0
      examples/python-sdk-agent/cordis.yml
  6. 0 0
      examples/python-sdk-agent/minimal.cordis.yml
  7. 0 0
      examples/python-sdk-agent/minimal.py
  8. 0 0
      examples/python-sdk-agent/minimal.snapshot.cordis.yml
  9. 0 0
      examples/python-sdk-agent/package.json
  10. 0 0
      examples/python-sdk-agent/session-upload.cordis.yml
  11. 0 0
      examples/python-sdk-agent/session-upload.snapshot.cordis.yml
  12. 0 0
      examples/python-sdk-agent/tests/fixtures/subagent/subagent-dsh-sdk/child-mock-llm.ts
  13. 0 0
      examples/python-sdk-agent/tests/fixtures/subagent/subagent-dsh-sdk/child.cordis.yml
  14. 0 0
      examples/python-sdk-agent/tests/fixtures/subagent/subagent-dsh-sdk/cordis.yml
  15. 0 0
      examples/python-sdk-agent/tests/fixtures/subagent/subagent-dsh-sdk/driver.ts
  16. 0 0
      examples/python-sdk-agent/tests/fixtures/subagent/subagent-dsh-sdk/mock-delegating-llm.ts
  17. 0 0
      examples/python-sdk-agent/tests/keyless-smoke.e2e.ts
  18. 0 0
      examples/python-sdk-agent/tests/sdk.snapshot.ts
  19. 0 0
      examples/python-sdk-agent/tests/snapshots/bash-tool/notifications.expected.jsonl
  20. 0 0
      examples/python-sdk-agent/tests/snapshots/bash-tool/result.expected.json
  21. 0 0
      examples/python-sdk-agent/tests/snapshots/bash-tool/session.jsonl
  22. 0 0
      examples/python-sdk-agent/tests/snapshots/persistent-tools/notifications.expected.jsonl
  23. 0 0
      examples/python-sdk-agent/tests/snapshots/persistent-tools/result.expected.json
  24. 0 0
      examples/python-sdk-agent/tests/snapshots/persistent-tools/session.jsonl
  25. 0 0
      examples/python-sdk-agent/tests/snapshots/subagent-spawn-in-process/notifications.expected.jsonl
  26. 0 0
      examples/python-sdk-agent/tests/snapshots/subagent-spawn-in-process/result.expected.json
  27. 0 0
      examples/python-sdk-agent/tests/snapshots/subagent-spawn-in-process/session.1.jsonl
  28. 0 0
      examples/python-sdk-agent/tests/snapshots/subagent-spawn-in-process/session.jsonl
  29. 0 0
      examples/python-sdk-agent/tests/snapshots/text-turn/notifications.expected.jsonl
  30. 0 0
      examples/python-sdk-agent/tests/snapshots/text-turn/result.expected.json
  31. 0 0
      examples/python-sdk-agent/tests/snapshots/text-turn/session.jsonl
  32. 0 0
      packages/sdk/python-runtime/README.i18n.yaml
  33. 0 0
      packages/sdk/python-runtime/README.md
  34. 0 0
      packages/sdk/python-runtime/README.zh.md
  35. 0 0
      packages/sdk/python-runtime/package.json
  36. 0 0
      packages/sdk/python-runtime/src/bin.ts
  37. 0 0
      packages/sdk/python-runtime/src/index.ts
  38. 0 0
      packages/sdk/python-runtime/src/invariant.ts
  39. 0 0
      packages/sdk/python-runtime/src/packaged-bin.ts
  40. 0 0
      packages/sdk/python-runtime/src/runner.ts
  41. 0 0
      packages/sdk/python-runtime/tsconfig.json
  42. 0 0
      packages/sdk/python-runtime/tsdown.config.ts

+ 0 - 0
examples/jsonrpc-agent/README.i18n.yaml → examples/python-sdk-agent/README.i18n.yaml


+ 0 - 0
examples/jsonrpc-agent/README.md → examples/python-sdk-agent/README.md


+ 0 - 0
examples/jsonrpc-agent/README.zh.md → examples/python-sdk-agent/README.zh.md


+ 0 - 0
examples/jsonrpc-agent/cordis.snapshot.yml → examples/python-sdk-agent/cordis.snapshot.yml


+ 0 - 0
examples/jsonrpc-agent/cordis.yml → examples/python-sdk-agent/cordis.yml


+ 0 - 0
examples/jsonrpc-agent/minimal.cordis.yml → examples/python-sdk-agent/minimal.cordis.yml


+ 0 - 0
examples/jsonrpc-agent/minimal.py → examples/python-sdk-agent/minimal.py


+ 0 - 0
examples/jsonrpc-agent/minimal.snapshot.cordis.yml → examples/python-sdk-agent/minimal.snapshot.cordis.yml


+ 0 - 0
examples/jsonrpc-agent/package.json → examples/python-sdk-agent/package.json


+ 0 - 0
examples/jsonrpc-agent/session-upload.cordis.yml → examples/python-sdk-agent/session-upload.cordis.yml


+ 0 - 0
examples/jsonrpc-agent/session-upload.snapshot.cordis.yml → examples/python-sdk-agent/session-upload.snapshot.cordis.yml


+ 0 - 0
examples/jsonrpc-agent/tests/fixtures/subagent/subagent-dsh-sdk/child-mock-llm.ts → examples/python-sdk-agent/tests/fixtures/subagent/subagent-dsh-sdk/child-mock-llm.ts


+ 0 - 0
examples/jsonrpc-agent/tests/fixtures/subagent/subagent-dsh-sdk/child.cordis.yml → examples/python-sdk-agent/tests/fixtures/subagent/subagent-dsh-sdk/child.cordis.yml


+ 0 - 0
examples/jsonrpc-agent/tests/fixtures/subagent/subagent-dsh-sdk/cordis.yml → examples/python-sdk-agent/tests/fixtures/subagent/subagent-dsh-sdk/cordis.yml


+ 0 - 0
examples/jsonrpc-agent/tests/fixtures/subagent/subagent-dsh-sdk/driver.ts → examples/python-sdk-agent/tests/fixtures/subagent/subagent-dsh-sdk/driver.ts


+ 0 - 0
examples/jsonrpc-agent/tests/fixtures/subagent/subagent-dsh-sdk/mock-delegating-llm.ts → examples/python-sdk-agent/tests/fixtures/subagent/subagent-dsh-sdk/mock-delegating-llm.ts


+ 0 - 0
examples/jsonrpc-agent/tests/keyless-smoke.e2e.ts → examples/python-sdk-agent/tests/keyless-smoke.e2e.ts


+ 0 - 0
examples/jsonrpc-agent/tests/sdk.snapshot.ts → examples/python-sdk-agent/tests/sdk.snapshot.ts


+ 0 - 0
examples/jsonrpc-agent/tests/snapshots/bash-tool/notifications.expected.jsonl → examples/python-sdk-agent/tests/snapshots/bash-tool/notifications.expected.jsonl


+ 0 - 0
examples/jsonrpc-agent/tests/snapshots/bash-tool/result.expected.json → examples/python-sdk-agent/tests/snapshots/bash-tool/result.expected.json


+ 0 - 0
examples/jsonrpc-agent/tests/snapshots/bash-tool/session.jsonl → examples/python-sdk-agent/tests/snapshots/bash-tool/session.jsonl


+ 0 - 0
examples/jsonrpc-agent/tests/snapshots/persistent-tools/notifications.expected.jsonl → examples/python-sdk-agent/tests/snapshots/persistent-tools/notifications.expected.jsonl


+ 0 - 0
examples/jsonrpc-agent/tests/snapshots/persistent-tools/result.expected.json → examples/python-sdk-agent/tests/snapshots/persistent-tools/result.expected.json


+ 0 - 0
examples/jsonrpc-agent/tests/snapshots/persistent-tools/session.jsonl → examples/python-sdk-agent/tests/snapshots/persistent-tools/session.jsonl


+ 0 - 0
examples/jsonrpc-agent/tests/snapshots/subagent-spawn-in-process/notifications.expected.jsonl → examples/python-sdk-agent/tests/snapshots/subagent-spawn-in-process/notifications.expected.jsonl


+ 0 - 0
examples/jsonrpc-agent/tests/snapshots/subagent-spawn-in-process/result.expected.json → examples/python-sdk-agent/tests/snapshots/subagent-spawn-in-process/result.expected.json


+ 0 - 0
examples/jsonrpc-agent/tests/snapshots/subagent-spawn-in-process/session.1.jsonl → examples/python-sdk-agent/tests/snapshots/subagent-spawn-in-process/session.1.jsonl


+ 0 - 0
examples/jsonrpc-agent/tests/snapshots/subagent-spawn-in-process/session.jsonl → examples/python-sdk-agent/tests/snapshots/subagent-spawn-in-process/session.jsonl


+ 0 - 0
examples/jsonrpc-agent/tests/snapshots/text-turn/notifications.expected.jsonl → examples/python-sdk-agent/tests/snapshots/text-turn/notifications.expected.jsonl


+ 0 - 0
examples/jsonrpc-agent/tests/snapshots/text-turn/result.expected.json → examples/python-sdk-agent/tests/snapshots/text-turn/result.expected.json


+ 0 - 0
examples/jsonrpc-agent/tests/snapshots/text-turn/session.jsonl → examples/python-sdk-agent/tests/snapshots/text-turn/session.jsonl


+ 0 - 0
packages/examples/jsonrpc-demo/README.i18n.yaml → packages/sdk/python-runtime/README.i18n.yaml


+ 0 - 0
packages/examples/jsonrpc-demo/README.md → packages/sdk/python-runtime/README.md


+ 0 - 0
packages/examples/jsonrpc-demo/README.zh.md → packages/sdk/python-runtime/README.zh.md


+ 0 - 0
packages/examples/jsonrpc-demo/package.json → packages/sdk/python-runtime/package.json


+ 0 - 0
packages/examples/jsonrpc-demo/src/bin.ts → packages/sdk/python-runtime/src/bin.ts


+ 0 - 0
packages/examples/jsonrpc-demo/src/index.ts → packages/sdk/python-runtime/src/index.ts


+ 0 - 0
packages/examples/jsonrpc-demo/src/invariant.ts → packages/sdk/python-runtime/src/invariant.ts


+ 0 - 0
packages/examples/jsonrpc-demo/src/packaged-bin.ts → packages/sdk/python-runtime/src/packaged-bin.ts


+ 0 - 0
packages/examples/jsonrpc-demo/src/runner.ts → packages/sdk/python-runtime/src/runner.ts


+ 0 - 0
packages/examples/jsonrpc-demo/tsconfig.json → packages/sdk/python-runtime/tsconfig.json


+ 0 - 0
packages/examples/jsonrpc-demo/tsdown.config.ts → packages/sdk/python-runtime/tsdown.config.ts