norpagent 2.2.2__tar.gz → 2.2.3__tar.gz

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 (177) hide show
  1. norpagent-2.2.3/MANIFEST.in +23 -0
  2. {norpagent-2.2.2 → norpagent-2.2.3}/PKG-INFO +1 -1
  3. {norpagent-2.2.2 → norpagent-2.2.3}/pyproject.toml +84 -84
  4. {norpagent-2.2.2 → norpagent-2.2.3}/src/nervous_bus/test_cnb_whitebox.py +489 -489
  5. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/__init__.py +389 -389
  6. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/builtin/ui/multimodal.py +487 -487
  7. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/cnb/__init__.py +104 -104
  8. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/evolution/__init__.py +218 -217
  9. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/evolution/hotswap.py +317 -294
  10. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/evolution/proposals.py +605 -577
  11. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/nasyncio.py +1344 -1344
  12. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/recovery/__init__.py +523 -523
  13. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent.egg-info/PKG-INFO +1 -1
  14. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent.egg-info/SOURCES.txt +2 -24
  15. norpagent-2.2.2/test/test_cnb_automount.py +0 -246
  16. norpagent-2.2.2/test/test_cnb_kernel_actions.py +0 -411
  17. norpagent-2.2.2/test/test_cnb_tree_suite.py +0 -557
  18. norpagent-2.2.2/test/test_evo_hardening_suite.py +0 -232
  19. norpagent-2.2.2/test/test_evolution_suite.py +0 -308
  20. norpagent-2.2.2/test/test_lang_model_suite.py +0 -231
  21. norpagent-2.2.2/test/test_memory_clear_suite.py +0 -246
  22. norpagent-2.2.2/test/test_minimal_kernel_suite.py +0 -1006
  23. norpagent-2.2.2/test/test_plugin_suite.py +0 -886
  24. norpagent-2.2.2/test/test_render_stats_suite.py +0 -422
  25. norpagent-2.2.2/test/test_round10_suite.py +0 -418
  26. norpagent-2.2.2/test/test_round11_suite.py +0 -189
  27. norpagent-2.2.2/test/test_round12_suite.py +0 -196
  28. norpagent-2.2.2/test/test_round13_suite.py +0 -405
  29. norpagent-2.2.2/test/test_round14_suite.py +0 -271
  30. norpagent-2.2.2/test/test_round15_suite.py +0 -345
  31. norpagent-2.2.2/test/test_round17_suite.py +0 -122
  32. norpagent-2.2.2/test/test_round18_suite.py +0 -252
  33. norpagent-2.2.2/test/test_round19_suite.py +0 -371
  34. norpagent-2.2.2/test/test_round20_suite.py +0 -158
  35. norpagent-2.2.2/test/test_round9_suite.py +0 -587
  36. norpagent-2.2.2/test/test_ui_feedback_suite.py +0 -313
  37. norpagent-2.2.2/test/test_v22_suite.py +0 -396
  38. {norpagent-2.2.2 → norpagent-2.2.3}/LICENSE +0 -0
  39. {norpagent-2.2.2 → norpagent-2.2.3}/README.md +0 -0
  40. {norpagent-2.2.2 → norpagent-2.2.3}/setup.cfg +0 -0
  41. {norpagent-2.2.2 → norpagent-2.2.3}/src/nervous_bus/__init__.py +0 -0
  42. {norpagent-2.2.2 → norpagent-2.2.3}/src/nervous_bus/cli.py +0 -0
  43. {norpagent-2.2.2 → norpagent-2.2.3}/src/nervous_bus/demo.py +0 -0
  44. {norpagent-2.2.2 → norpagent-2.2.3}/src/nervous_bus/test_cnb.py +0 -0
  45. {norpagent-2.2.2 → norpagent-2.2.3}/src/nervous_bus/test_cnb_slots.py +0 -0
  46. {norpagent-2.2.2 → norpagent-2.2.3}/src/nervous_bus/test_cnb_v200.py +0 -0
  47. {norpagent-2.2.2 → norpagent-2.2.3}/src/nervous_bus/test_deep_tree.py +0 -0
  48. {norpagent-2.2.2 → norpagent-2.2.3}/src/nervous_bus/test_e2e.py +0 -0
  49. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/__main__.py +0 -0
  50. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/arch/__init__.py +0 -0
  51. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/arch/address.py +0 -0
  52. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/arch/layer.py +0 -0
  53. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/arch/slots.py +0 -0
  54. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/builtin/__init__.py +0 -0
  55. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/builtin/context/__init__.py +0 -0
  56. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/builtin/context/fts5.py +0 -0
  57. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/builtin/models/__init__.py +0 -0
  58. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/builtin/models/anthropic.py +0 -0
  59. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/builtin/models/mock.py +0 -0
  60. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/builtin/models/openai_compat.py +0 -0
  61. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/builtin/projects/__init__.py +0 -0
  62. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/builtin/projects/basic.py +0 -0
  63. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/builtin/sandboxes/__init__.py +0 -0
  64. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/builtin/sandboxes/isolated_python.py +0 -0
  65. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/builtin/sandboxes/pooled.py +0 -0
  66. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/builtin/sandboxes/subprocess.py +0 -0
  67. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/builtin/scheduler/__init__.py +0 -0
  68. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/builtin/scheduler/persistent.py +0 -0
  69. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/builtin/scheduler/simple.py +0 -0
  70. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/builtin/sessions/__init__.py +0 -0
  71. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/builtin/sessions/memory.py +0 -0
  72. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/builtin/sessions/sqlite.py +0 -0
  73. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/builtin/tools/__init__.py +0 -0
  74. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/builtin/tools/ask_user.py +0 -0
  75. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/builtin/tools/clock.py +0 -0
  76. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/builtin/tools/context_tools.py +0 -0
  77. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/builtin/tools/echo.py +0 -0
  78. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/builtin/tools/exec_cmd.py +0 -0
  79. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/builtin/tools/file_io.py +0 -0
  80. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/builtin/tools/file_surgeon.py +0 -0
  81. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/builtin/tools/pathsafe.py +0 -0
  82. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/builtin/tools/project_tools.py +0 -0
  83. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/builtin/tools/run_python.py +0 -0
  84. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/builtin/tools/search_in_file.py +0 -0
  85. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/builtin/tools/task_tools.py +0 -0
  86. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/builtin/tools/web.py +0 -0
  87. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/builtin/ui/__init__.py +0 -0
  88. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/builtin/ui/assets/front.html +0 -0
  89. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/builtin/ui/assets/norp-farstars.html +0 -0
  90. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/builtin/ui/assets/norp-flow.html +0 -0
  91. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/builtin/ui/console.py +0 -0
  92. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/builtin/ui/web.py +0 -0
  93. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/cli.py +0 -0
  94. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/cnb/bus.py +0 -0
  95. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/cnb/cli.py +0 -0
  96. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/cnb/cortex.py +0 -0
  97. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/cnb/demo.py +0 -0
  98. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/cnb/engine.py +0 -0
  99. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/cnb/node.py +0 -0
  100. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/cnb/permissions.py +0 -0
  101. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/cnb/protocol.py +0 -0
  102. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/cnb/slots.py +0 -0
  103. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/cnb/topology.py +0 -0
  104. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/cnb/tree.py +0 -0
  105. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/core.py +0 -0
  106. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/evolution/engines.py +0 -0
  107. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/evolution/packages.py +0 -0
  108. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/evolution/points.py +0 -0
  109. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/evolution/rhythm.py +0 -0
  110. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/evolution/store.py +0 -0
  111. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/farstars_app/__init__.py +0 -0
  112. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/farstars_app/entry.py +0 -0
  113. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/flows/__init__.py +0 -0
  114. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/frontends/__init__.py +0 -0
  115. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/frontends/base.py +0 -0
  116. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/frontends/console.py +0 -0
  117. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/frontends/headless.py +0 -0
  118. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/frontends/web.py +0 -0
  119. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/hooks/__init__.py +0 -0
  120. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/hooks/core.py +0 -0
  121. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/hooks/standard.py +0 -0
  122. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/kernel/__init__.py +0 -0
  123. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/kernel/agent.py +0 -0
  124. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/kernel/context.py +0 -0
  125. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/kernel/events.py +0 -0
  126. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/kernel/presets.py +0 -0
  127. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/kernel/registry.py +0 -0
  128. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/loops/__init__.py +0 -0
  129. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/loops/base.py +0 -0
  130. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/loops/cancel.py +0 -0
  131. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/loops/nasyncio.py +0 -0
  132. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/loops/std_asyncio.py +0 -0
  133. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/modes/__init__.py +0 -0
  134. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/modes/creative.py +0 -0
  135. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/modes/embedded.py +0 -0
  136. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/modes/longrun.py +0 -0
  137. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/modes/minimal.py +0 -0
  138. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/modes/ptc.py +0 -0
  139. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/modes/standard.py +0 -0
  140. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/plugins/__init__.py +0 -0
  141. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/plugins/host.py +0 -0
  142. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/plugins/isolation.py +0 -0
  143. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/plugins/loader.py +0 -0
  144. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/plugins/manager.py +0 -0
  145. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/protocols/__init__.py +0 -0
  146. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/protocols/model.py +0 -0
  147. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/protocols/plugin.py +0 -0
  148. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/protocols/sandbox.py +0 -0
  149. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/protocols/scheduler.py +0 -0
  150. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/protocols/session.py +0 -0
  151. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/protocols/tool.py +0 -0
  152. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/protocols/ui.py +0 -0
  153. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/py.typed +0 -0
  154. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/recovery/capture.py +0 -0
  155. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/recovery/store.py +0 -0
  156. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/rescue.py +0 -0
  157. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/rescue_api.py +0 -0
  158. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/runtime/__init__.py +0 -0
  159. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/runtime/cnb.py +0 -0
  160. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/runtime/engine.py +0 -0
  161. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/runtime/mount.py +0 -0
  162. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/runtime/remount.py +0 -0
  163. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/safe.py +0 -0
  164. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/security/__init__.py +0 -0
  165. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/security/approval.py +0 -0
  166. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/security/audit.py +0 -0
  167. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/security/guard.py +0 -0
  168. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/security/network_policy.py +0 -0
  169. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/security/signature.py +0 -0
  170. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/settings.py +0 -0
  171. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/settings_cli.py +0 -0
  172. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/unbox.py +0 -0
  173. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent/whitebox.py +0 -0
  174. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent.egg-info/dependency_links.txt +0 -0
  175. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent.egg-info/entry_points.txt +0 -0
  176. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent.egg-info/requires.txt +0 -0
  177. {norpagent-2.2.2 → norpagent-2.2.3}/src/norpagent.egg-info/top_level.txt +0 -0
@@ -0,0 +1,23 @@
1
+ # 源发行包(sdist)打包范围控制
2
+ # 目的:发布包不携带开发用测试与草稿(用户/下游只需产品代码 src/)。
3
+ # wheel 由 pyproject 的 packages.find where=["src"] 决定,天然不含 test/;
4
+ # 本文件用于约束 sdist(.tar.gz),避免默认把仓库 test/ 目录整套收进去。
5
+
6
+ # 排除开发测试目录(含其下全部子目录与归档)
7
+ prune test
8
+
9
+ # 排除仓库根目录的开发草稿与文档源稿(如不需要可去掉对应行)
10
+ prune build
11
+ prune dist
12
+ prune "New folder"
13
+ prune capture_worker
14
+ prune front_src
15
+ prune front_ui
16
+ prune official_plugins
17
+ prune plugin_system
18
+ prune plugins
19
+
20
+ # 排除根级草稿/说明文件
21
+ exclude docs.zip
22
+ exclude 演示文稿2.pptx
23
+ exclude NORP_Agent_0.9.0_宣传PPT.pptx
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: norpagent
3
- Version: 2.2.2
3
+ Version: 2.2.3
4
4
  Summary: FarStars(远星)· norpagent — pluggable component-based agent framework: modular architecture layers with address functions, np() single-call startup, 9 layers / 29 hooks, norpagent.safe() decoupled security, process-level plugin isolation, ready-to-use preset modes, Central Nervous Bus (CNB) multi-instance neural tree (cortex control / freeze quarantine / subpoena evidence / behavior baselines)
5
5
  Author: xingluosama121
6
6
  License-Expression: MIT
@@ -1,84 +1,84 @@
1
- # Copyright (c) 2026 xingluosama121, MIT Licensed
2
- [build-system]
3
- requires = ["setuptools>=68"]
4
- build-backend = "setuptools.build_meta"
5
-
6
- [project]
7
- name = "norpagent"
8
- version = "2.2.2"
9
- # FarStars(远星)是 norpagent 自 v2.0.0 起的正式宣传名:调用方式与内核
10
- # 名称不变(import norpagent / PyPI 包名 norpagent 保持不变),远星 FarStars
11
- # 为对外品牌冠名。
12
- description = "FarStars(远星)· norpagent — pluggable component-based agent framework: modular architecture layers with address functions, np() single-call startup, 9 layers / 29 hooks, norpagent.safe() decoupled security, process-level plugin isolation, ready-to-use preset modes, Central Nervous Bus (CNB) multi-instance neural tree (cortex control / freeze quarantine / subpoena evidence / behavior baselines)"
13
- readme = "README.md"
14
- requires-python = ">=3.10"
15
- license = "MIT"
16
- license-files = ["LICENSE"]
17
- authors = [{ name = "xingluosama121" }]
18
- keywords = ["agent", "plugin", "llm", "framework", "multi-agent", "sandbox", "hooks", "security", "context", "farstars", "远星", "cnb", "neural-bus", "subpoena"]
19
- classifiers = [
20
- "Development Status :: 4 - Beta",
21
- "Intended Audience :: Developers",
22
- "Operating System :: OS Independent",
23
- "Programming Language :: Python :: 3",
24
- "Programming Language :: Python :: 3.10",
25
- "Programming Language :: Python :: 3.11",
26
- "Programming Language :: Python :: 3.12",
27
- "Programming Language :: Python :: 3.13",
28
- "Topic :: Software Development :: Libraries",
29
- "Topic :: Scientific/Engineering :: Artificial Intelligence",
30
- ]
31
-
32
- # Core has zero third-party dependencies: pip install norpagent runs in a plain
33
- # Python environment (Mock model + built-in tools suffice for benchmarking and
34
- # plugin development/debugging)
35
- dependencies = []
36
-
37
- [project.urls]
38
- Homepage = "https://github.com/xingluosama121/farstars2"
39
- Documentation = "https://github.com/xingluosama121/farstars2/tree/main/docs"
40
- Issues = "https://github.com/xingluosama121/farstars2/issues"
41
- PyPI = "https://pypi.org/project/norpagent/"
42
-
43
- [project.optional-dependencies]
44
- # Model adapter for OpenAI-compatible services (DeepSeek / OpenAI / Qwen / vLLM / Ollama, etc.)
45
- openai = ["openai>=1.40"]
46
- # Model adapter for the Anthropic protocol
47
- anthropic = ["anthropic>=0.34"]
48
- # Web access (web_search / web_fetch / web_extract_links tools)
49
- web = ["requests>=2.31"]
50
- # Plugin signatures (Ed25519 verification; without it signatures are treated as "untrusted", security posture is not downgraded)
51
- security = ["cryptography>=41"]
52
- # ── 三态分区(R-018,2026-09-09 裁决:远星单包三态) ────────────────
53
- # 元框架 / 框架 / 成品发行版三态同包共存:代码本体始终全量随包分发;
54
- # 以下分区控制「第三方桥接依赖」的抓取粒度,可逗号组合安装:
55
- # pip install norpagent[meta] 元框架态:最小内核(零第三方依赖)
56
- # pip install norpagent[frame] 框架态:造 Agent(模型 + 网络桥)
57
- # pip install norpagent[user] 成品态:开箱即用全功能(模型 + 网络 + 签名)
58
- # pip install norpagent[user,meta,openai] 分区与单项混用(逗号分隔)
59
- # 说明:无后缀 `pip install norpagent` 即三态全量在场(零依赖核心可直接运行:
60
- # Mock 模型 + 内置工具;按需再加分区补第三方桥)。
61
- user = ["openai>=1.40", "anthropic>=0.34", "requests>=2.31", "cryptography>=41"]
62
- frame = ["openai>=1.40", "anthropic>=0.34", "requests>=2.31"]
63
- meta = []
64
- # All optional dependencies
65
- all = [
66
- "openai>=1.40",
67
- "anthropic>=0.34",
68
- "requests>=2.31",
69
- "cryptography>=41",
70
- ]
71
- # Windows-specific components (vision operations, credential management, etc.)
72
- # will be provided as optional plugins in later releases:
73
- # pip install norpagent[windows]
74
- windows = []
75
-
76
- [project.scripts]
77
- norpagent = "norpagent.cli:main"
78
- norpagent-rescue = "norpagent.rescue:main"
79
-
80
- [tool.setuptools.packages.find]
81
- where = ["src"]
82
-
83
- [tool.setuptools.package-data]
84
- norpagent = ["py.typed", "builtin/ui/assets/*.html"]
1
+ # Copyright (c) 2026 xingluosama121, MIT Licensed
2
+ [build-system]
3
+ requires = ["setuptools>=68"]
4
+ build-backend = "setuptools.build_meta"
5
+
6
+ [project]
7
+ name = "norpagent"
8
+ version = "2.2.3"
9
+ # FarStars(远星)是 norpagent 自 v2.0.0 起的正式宣传名:调用方式与内核
10
+ # 名称不变(import norpagent / PyPI 包名 norpagent 保持不变),远星 FarStars
11
+ # 为对外品牌冠名。
12
+ description = "FarStars(远星)· norpagent — pluggable component-based agent framework: modular architecture layers with address functions, np() single-call startup, 9 layers / 29 hooks, norpagent.safe() decoupled security, process-level plugin isolation, ready-to-use preset modes, Central Nervous Bus (CNB) multi-instance neural tree (cortex control / freeze quarantine / subpoena evidence / behavior baselines)"
13
+ readme = "README.md"
14
+ requires-python = ">=3.10"
15
+ license = "MIT"
16
+ license-files = ["LICENSE"]
17
+ authors = [{ name = "xingluosama121" }]
18
+ keywords = ["agent", "plugin", "llm", "framework", "multi-agent", "sandbox", "hooks", "security", "context", "farstars", "远星", "cnb", "neural-bus", "subpoena"]
19
+ classifiers = [
20
+ "Development Status :: 4 - Beta",
21
+ "Intended Audience :: Developers",
22
+ "Operating System :: OS Independent",
23
+ "Programming Language :: Python :: 3",
24
+ "Programming Language :: Python :: 3.10",
25
+ "Programming Language :: Python :: 3.11",
26
+ "Programming Language :: Python :: 3.12",
27
+ "Programming Language :: Python :: 3.13",
28
+ "Topic :: Software Development :: Libraries",
29
+ "Topic :: Scientific/Engineering :: Artificial Intelligence",
30
+ ]
31
+
32
+ # Core has zero third-party dependencies: pip install norpagent runs in a plain
33
+ # Python environment (Mock model + built-in tools suffice for benchmarking and
34
+ # plugin development/debugging)
35
+ dependencies = []
36
+
37
+ [project.urls]
38
+ Homepage = "https://github.com/xingluosama121/farstars2"
39
+ Documentation = "https://github.com/xingluosama121/farstars2/tree/main/docs"
40
+ Issues = "https://github.com/xingluosama121/farstars2/issues"
41
+ PyPI = "https://pypi.org/project/norpagent/"
42
+
43
+ [project.optional-dependencies]
44
+ # Model adapter for OpenAI-compatible services (DeepSeek / OpenAI / Qwen / vLLM / Ollama, etc.)
45
+ openai = ["openai>=1.40"]
46
+ # Model adapter for the Anthropic protocol
47
+ anthropic = ["anthropic>=0.34"]
48
+ # Web access (web_search / web_fetch / web_extract_links tools)
49
+ web = ["requests>=2.31"]
50
+ # Plugin signatures (Ed25519 verification; without it signatures are treated as "untrusted", security posture is not downgraded)
51
+ security = ["cryptography>=41"]
52
+ # ── 三态分区(R-018,2026-09-09 裁决:远星单包三态) ────────────────
53
+ # 元框架 / 框架 / 成品发行版三态同包共存:代码本体始终全量随包分发;
54
+ # 以下分区控制「第三方桥接依赖」的抓取粒度,可逗号组合安装:
55
+ # pip install norpagent[meta] 元框架态:最小内核(零第三方依赖)
56
+ # pip install norpagent[frame] 框架态:造 Agent(模型 + 网络桥)
57
+ # pip install norpagent[user] 成品态:开箱即用全功能(模型 + 网络 + 签名)
58
+ # pip install norpagent[user,meta,openai] 分区与单项混用(逗号分隔)
59
+ # 说明:无后缀 `pip install norpagent` 即三态全量在场(零依赖核心可直接运行:
60
+ # Mock 模型 + 内置工具;按需再加分区补第三方桥)。
61
+ user = ["openai>=1.40", "anthropic>=0.34", "requests>=2.31", "cryptography>=41"]
62
+ frame = ["openai>=1.40", "anthropic>=0.34", "requests>=2.31"]
63
+ meta = []
64
+ # All optional dependencies
65
+ all = [
66
+ "openai>=1.40",
67
+ "anthropic>=0.34",
68
+ "requests>=2.31",
69
+ "cryptography>=41",
70
+ ]
71
+ # Windows-specific components (vision operations, credential management, etc.)
72
+ # will be provided as optional plugins in later releases:
73
+ # pip install norpagent[windows]
74
+ windows = []
75
+
76
+ [project.scripts]
77
+ norpagent = "norpagent.cli:main"
78
+ norpagent-rescue = "norpagent.rescue:main"
79
+
80
+ [tool.setuptools.packages.find]
81
+ where = ["src"]
82
+
83
+ [tool.setuptools.package-data]
84
+ norpagent = ["py.typed", "builtin/ui/assets/*.html"]