insetu 0.15.1__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 (154) hide show
  1. insetu-0.15.1/LICENSE +202 -0
  2. insetu-0.15.1/MANIFEST.in +4 -0
  3. insetu-0.15.1/NOTICE +15 -0
  4. insetu-0.15.1/PKG-INFO +225 -0
  5. insetu-0.15.1/README.md +171 -0
  6. insetu-0.15.1/insetu/app.py +480 -0
  7. insetu-0.15.1/insetu/cli.py +211 -0
  8. insetu-0.15.1/insetu/core/__init__.py +0 -0
  9. insetu-0.15.1/insetu/core/bridge/__init__.py +0 -0
  10. insetu-0.15.1/insetu/core/bridge/bridge_fuzzy.py +292 -0
  11. insetu-0.15.1/insetu/core/bridge/bridge_parser.py +1 -0
  12. insetu-0.15.1/insetu/core/bridge/bridge_vfs.py +517 -0
  13. insetu-0.15.1/insetu/core/bridge/engine_bridge.py +193 -0
  14. insetu-0.15.1/insetu/core/cartographer/__init__.py +0 -0
  15. insetu-0.15.1/insetu/core/cartographer/cartographer.py +165 -0
  16. insetu-0.15.1/insetu/core/editor/engine_editor.py +22 -0
  17. insetu-0.15.1/insetu/core/gather/__init__.py +0 -0
  18. insetu-0.15.1/insetu/core/gather/engine_gather.py +994 -0
  19. insetu-0.15.1/insetu/core/routes_fs.py +208 -0
  20. insetu-0.15.1/insetu/core/routes_system.py +443 -0
  21. insetu-0.15.1/insetu/core/sdk/__init__.py +2 -0
  22. insetu-0.15.1/insetu/core/topology/__init__.py +1 -0
  23. insetu-0.15.1/insetu/core/topology/engine_topology.py +394 -0
  24. insetu-0.15.1/insetu/core/utils_core.py +424 -0
  25. insetu-0.15.1/insetu/defaults/.gitkeep +0 -0
  26. insetu-0.15.1/insetu/defaults/config.json +10 -0
  27. insetu-0.15.1/insetu/defaults/engine_template_py.txt +28 -0
  28. insetu-0.15.1/insetu/defaults/ext_template_js.txt +90 -0
  29. insetu-0.15.1/insetu/defaults/gitignore.txt +14 -0
  30. insetu-0.15.1/insetu/defaults/system.json +10 -0
  31. insetu-0.15.1/insetu/extensions/__init__.py +0 -0
  32. insetu-0.15.1/insetu/extensions/citations/engine_citations.py +349 -0
  33. insetu-0.15.1/insetu/extensions/citations/ext_citations.js +763 -0
  34. insetu-0.15.1/insetu/extensions/dev/__init__.py +1 -0
  35. insetu-0.15.1/insetu/extensions/dev/engine_dev.py +140 -0
  36. insetu-0.15.1/insetu/extensions/dev/ext_dev.js +217 -0
  37. insetu-0.15.1/insetu/extensions/favorites/engine_favorites.py +61 -0
  38. insetu-0.15.1/insetu/extensions/favorites/ext_favorites.js +246 -0
  39. insetu-0.15.1/insetu/extensions/flow/engine_flow.py +293 -0
  40. insetu-0.15.1/insetu/extensions/flow/ext_flow.js +800 -0
  41. insetu-0.15.1/insetu/extensions/format/engine_format.py +128 -0
  42. insetu-0.15.1/insetu/extensions/format/ext_format.js +53 -0
  43. insetu-0.15.1/insetu/extensions/freshdesk/engine_freshdesk.py +279 -0
  44. insetu-0.15.1/insetu/extensions/freshdesk/ext_freshdesk.js +510 -0
  45. insetu-0.15.1/insetu/extensions/git/engine_git.py +917 -0
  46. insetu-0.15.1/insetu/extensions/git/ext_git.js +924 -0
  47. insetu-0.15.1/insetu/extensions/hooks/engine_hooks.py +232 -0
  48. insetu-0.15.1/insetu/extensions/hooks/ext_hooks.js +436 -0
  49. insetu-0.15.1/insetu/extensions/ingest/__init__.py +1 -0
  50. insetu-0.15.1/insetu/extensions/ingest/engine_ingest.py +142 -0
  51. insetu-0.15.1/insetu/extensions/ingest/ext_ingest.js +133 -0
  52. insetu-0.15.1/insetu/extensions/notes/__init__.py +1 -0
  53. insetu-0.15.1/insetu/extensions/notes/engine_notes.py +141 -0
  54. insetu-0.15.1/insetu/extensions/notes/ext_notes.js +435 -0
  55. insetu-0.15.1/insetu/extensions/prompts/engine_prompts.py +91 -0
  56. insetu-0.15.1/insetu/extensions/prompts/ext_prompts.js +275 -0
  57. insetu-0.15.1/insetu/extensions/publish/__init__.py +1 -0
  58. insetu-0.15.1/insetu/extensions/publish/engine_publish.py +110 -0
  59. insetu-0.15.1/insetu/extensions/publish/ext_publish.js +130 -0
  60. insetu-0.15.1/insetu/extensions/publish/vendor.json +4 -0
  61. insetu-0.15.1/insetu/extensions/research/engine_research.py +598 -0
  62. insetu-0.15.1/insetu/extensions/research/ext_research.js +577 -0
  63. insetu-0.15.1/insetu/extensions/skills/engine_skills.py +315 -0
  64. insetu-0.15.1/insetu/extensions/skills/ext_skills.js +699 -0
  65. insetu-0.15.1/insetu/extensions/tailscale/engine_tailscale.py +122 -0
  66. insetu-0.15.1/insetu/extensions/tailscale/ext_tailscale.js +2 -0
  67. insetu-0.15.1/insetu/extensions/term/engine_term.py +166 -0
  68. insetu-0.15.1/insetu/extensions/term/ext_term.js +323 -0
  69. insetu-0.15.1/insetu/extensions/term/vendor/xterm-addon-fit.js +8 -0
  70. insetu-0.15.1/insetu/extensions/term/vendor/xterm.css +209 -0
  71. insetu-0.15.1/insetu/extensions/term/vendor/xterm.js +16 -0
  72. insetu-0.15.1/insetu/extensions/term/vendor.json +14 -0
  73. insetu-0.15.1/insetu/extensions/tracker/engine_tracker.py +760 -0
  74. insetu-0.15.1/insetu/extensions/tracker/ext_tracker.js +1002 -0
  75. insetu-0.15.1/insetu/extensions/update/__init__.py +1 -0
  76. insetu-0.15.1/insetu/extensions/update/engine_update.py +761 -0
  77. insetu-0.15.1/insetu/extensions/update/ext_update.js +831 -0
  78. insetu-0.15.1/insetu/extensions/update/vendor.json +4 -0
  79. insetu-0.15.1/insetu/kernel/auth.py +191 -0
  80. insetu-0.15.1/insetu/kernel/db.py +110 -0
  81. insetu-0.15.1/insetu/kernel/extension.py +613 -0
  82. insetu-0.15.1/insetu/kernel/fallback_bridge.py +456 -0
  83. insetu-0.15.1/insetu/kernel/hooks.py +135 -0
  84. insetu-0.15.1/insetu/kernel/sync.py +49 -0
  85. insetu-0.15.1/insetu/kernel/types.py +41 -0
  86. insetu-0.15.1/insetu/kernel/utils.py +356 -0
  87. insetu-0.15.1/insetu/kernel/vfs.py +295 -0
  88. insetu-0.15.1/insetu/kernel/workers.py +358 -0
  89. insetu-0.15.1/insetu/static/css/style.css +202 -0
  90. insetu-0.15.1/insetu/static/favicon.ico +0 -0
  91. insetu-0.15.1/insetu/static/icon-192.png +0 -0
  92. insetu-0.15.1/insetu/static/icon-512.png +0 -0
  93. insetu-0.15.1/insetu/static/js/app.js +1084 -0
  94. insetu-0.15.1/insetu/static/js/core/api.js +115 -0
  95. insetu-0.15.1/insetu/static/js/core/bridge.js +1135 -0
  96. insetu-0.15.1/insetu/static/js/core/components/ui_editor.js +542 -0
  97. insetu-0.15.1/insetu/static/js/core/components/ui_file_tree.js +182 -0
  98. insetu-0.15.1/insetu/static/js/core/components/ui_filter_pills.js +64 -0
  99. insetu-0.15.1/insetu/static/js/core/components/ui_primitives.js +226 -0
  100. insetu-0.15.1/insetu/static/js/core/components/ui_system_settings.js +556 -0
  101. insetu-0.15.1/insetu/static/js/core/config.js +548 -0
  102. insetu-0.15.1/insetu/static/js/core/fs.js +1723 -0
  103. insetu-0.15.1/insetu/static/js/core/gather.js +452 -0
  104. insetu-0.15.1/insetu/static/js/core/sdk.js +524 -0
  105. insetu-0.15.1/insetu/static/js/core/shared_styles.js +3 -0
  106. insetu-0.15.1/insetu/static/js/core/store.js +61 -0
  107. insetu-0.15.1/insetu/static/js/core/types.js +8 -0
  108. insetu-0.15.1/insetu/static/js/types.js +40 -0
  109. insetu-0.15.1/insetu/static/manifest.json +20 -0
  110. insetu-0.15.1/insetu/static/sw.js +41 -0
  111. insetu-0.15.1/insetu/static/vendor/codemirror/LICENSE +22 -0
  112. insetu-0.15.1/insetu/static/vendor/codemirror/merge.js +7 -0
  113. insetu-0.15.1/insetu/static/vendor/codemirror/state.js +3 -0
  114. insetu-0.15.1/insetu/static/vendor/codemirror/view.js +6 -0
  115. insetu-0.15.1/insetu/static/vendor/lit/LICENSE.txt +28 -0
  116. insetu-0.15.1/insetu/static/vendor/lit/lit-core.min.js +24 -0
  117. insetu-0.15.1/insetu/static/vendor/sutram/js/app_shell.js +66 -0
  118. insetu-0.15.1/insetu/static/vendor/sutram/js/inputs.js +121 -0
  119. insetu-0.15.1/insetu/static/vendor/sutram/js/poller.js +2 -0
  120. insetu-0.15.1/insetu/static/vendor/sutram/js/primitives.js +272 -0
  121. insetu-0.15.1/insetu/static/vendor/sutram/js/sdk.js +2 -0
  122. insetu-0.15.1/insetu/static/vendor/sutram/js/shared_styles.js +168 -0
  123. insetu-0.15.1/insetu/static/vendor/sutram/js/shortcuts.js +2 -0
  124. insetu-0.15.1/insetu/static/vendor/sutram/js/sutram-boot.js +2 -0
  125. insetu-0.15.1/insetu/static/vendor/sutram/js/utils.js +2 -0
  126. insetu-0.15.1/insetu/static/vendor/yenvui/css/theme-tokens.css +2 -0
  127. insetu-0.15.1/insetu/static/vendor/yenvui/js/async-btn.js +67 -0
  128. insetu-0.15.1/insetu/static/vendor/yenvui/js/card-group.js +60 -0
  129. insetu-0.15.1/insetu/static/vendor/yenvui/js/card.js +373 -0
  130. insetu-0.15.1/insetu/static/vendor/yenvui/js/category-section.js +30 -0
  131. insetu-0.15.1/insetu/static/vendor/yenvui/js/collapsible.js +95 -0
  132. insetu-0.15.1/insetu/static/vendor/yenvui/js/dropdown.js +80 -0
  133. insetu-0.15.1/insetu/static/vendor/yenvui/js/editor.js +18 -0
  134. insetu-0.15.1/insetu/static/vendor/yenvui/js/empty-state.js +27 -0
  135. insetu-0.15.1/insetu/static/vendor/yenvui/js/filter-group.js +17 -0
  136. insetu-0.15.1/insetu/static/vendor/yenvui/js/modal.js +162 -0
  137. insetu-0.15.1/insetu/static/vendor/yenvui/js/pill.js +69 -0
  138. insetu-0.15.1/insetu/static/vendor/yenvui/js/search-bar.js +62 -0
  139. insetu-0.15.1/insetu/static/vendor/yenvui/js/selection-tray.js +65 -0
  140. insetu-0.15.1/insetu/static/vendor/yenvui/js/spinner.js +27 -0
  141. insetu-0.15.1/insetu/static/vendor/yenvui/js/status-bar.js +26 -0
  142. insetu-0.15.1/insetu/static/vendor/yenvui/js/tabs.js +135 -0
  143. insetu-0.15.1/insetu/static/vendor/yenvui/js/toast.js +67 -0
  144. insetu-0.15.1/insetu/static/vendor/yenvui/js/toolbar.js +40 -0
  145. insetu-0.15.1/insetu/static/vendor.json +24 -0
  146. insetu-0.15.1/insetu/templates/index.html +105 -0
  147. insetu-0.15.1/insetu.egg-info/PKG-INFO +225 -0
  148. insetu-0.15.1/insetu.egg-info/SOURCES.txt +152 -0
  149. insetu-0.15.1/insetu.egg-info/dependency_links.txt +1 -0
  150. insetu-0.15.1/insetu.egg-info/entry_points.txt +2 -0
  151. insetu-0.15.1/insetu.egg-info/requires.txt +36 -0
  152. insetu-0.15.1/insetu.egg-info/top_level.txt +1 -0
  153. insetu-0.15.1/pyproject.toml +119 -0
  154. insetu-0.15.1/setup.cfg +4 -0
insetu-0.15.1/LICENSE ADDED
@@ -0,0 +1,202 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright 2026 inSetu Contributors
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
@@ -0,0 +1,4 @@
1
+ global-exclude __pycache__
2
+ global-exclude *.py[cod]
3
+ prune tests
4
+ prune docs
insetu-0.15.1/NOTICE ADDED
@@ -0,0 +1,15 @@
1
+ inSetu Developer OS
2
+ Copyright 2026 inSetu Contributors
3
+
4
+ This product includes software developed at
5
+ The Apache Software Foundation (http://www.apache.org/).
6
+
7
+ =========================================================================
8
+ Third-Party Dependencies
9
+ =========================================================================
10
+ This project bundles the following third-party dependencies:
11
+
12
+ * Sutram Micro-Kernel & yenVUI (Apache 2.0 License)
13
+ * Lit (BSD-3-Clause License) - https://lit.dev/
14
+ * CodeMirror 6 (MIT License) - https://codemirror.net/
15
+ * xterm.js (MIT License) - https://xtermjs.org/
insetu-0.15.1/PKG-INFO ADDED
@@ -0,0 +1,225 @@
1
+ Metadata-Version: 2.4
2
+ Name: insetu
3
+ Version: 0.15.1
4
+ Summary: A local-first AI Developer OS, Context Gatherer, and Kanban Tracker.
5
+ Author-email: inSetu Contributors <hello@insetu.dev>
6
+ License-Expression: Apache-2.0
7
+ Project-URL: Homepage, https://github.com/Callosemic/insetu
8
+ Project-URL: Repository, https://github.com/Callosemic/insetu.git
9
+ Project-URL: Documentation, https://github.com/Callosemic/insetu#readme
10
+ Project-URL: Bug Tracker, https://github.com/Callosemic/insetu/issues
11
+ Classifier: Development Status :: 4 - Beta
12
+ Classifier: Intended Audience :: Developers
13
+ Classifier: Operating System :: OS Independent
14
+ Classifier: Programming Language :: Python :: 3
15
+ Classifier: Programming Language :: Python :: 3.10
16
+ Classifier: Programming Language :: Python :: 3.11
17
+ Classifier: Programming Language :: Python :: 3.12
18
+ Classifier: Topic :: Software Development :: Build Tools
19
+ Classifier: Topic :: Software Development :: User Interfaces
20
+ Requires-Python: >=3.10
21
+ Description-Content-Type: text/markdown
22
+ License-File: LICENSE
23
+ License-File: NOTICE
24
+ Requires-Dist: Flask>=3.0.0
25
+ Requires-Dist: cryptography>=41.0.0
26
+ Requires-Dist: watchdog>=3.0.0
27
+ Provides-Extra: term
28
+ Requires-Dist: flask-sock>=0.6.0; extra == "term"
29
+ Provides-Extra: freshdesk
30
+ Requires-Dist: mistune>=3.0.0; extra == "freshdesk"
31
+ Provides-Extra: research
32
+ Requires-Dist: beautifulsoup4>=4.12.0; extra == "research"
33
+ Requires-Dist: markdownify>=0.11.0; extra == "research"
34
+ Requires-Dist: playwright>=1.40.0; extra == "research"
35
+ Provides-Extra: format
36
+ Requires-Dist: jsbeautifier>=1.14.0; extra == "format"
37
+ Requires-Dist: autopep8>=2.0.0; extra == "format"
38
+ Provides-Extra: publish
39
+ Provides-Extra: update
40
+ Requires-Dist: python-semantic-release>=9.0.0; extra == "update"
41
+ Requires-Dist: build>=1.0.0; extra == "update"
42
+ Requires-Dist: twine>=4.0.0; extra == "update"
43
+ Provides-Extra: all
44
+ Requires-Dist: flask-sock>=0.6.0; extra == "all"
45
+ Requires-Dist: mistune>=3.0.0; extra == "all"
46
+ Requires-Dist: beautifulsoup4>=4.12.0; extra == "all"
47
+ Requires-Dist: markdownify>=0.11.0; extra == "all"
48
+ Requires-Dist: playwright>=1.40.0; extra == "all"
49
+ Requires-Dist: jsbeautifier>=1.14.0; extra == "all"
50
+ Requires-Dist: python-semantic-release>=9.0.0; extra == "all"
51
+ Requires-Dist: build>=1.0.0; extra == "all"
52
+ Requires-Dist: twine>=4.0.0; extra == "all"
53
+ Dynamic: license-file
54
+
55
+ # 🌉 inSetu: AI Developer OS
56
+ [![License](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](LICENSE)
57
+
58
+ **inSetu** (from *in situ*, meaning "in position" or "on site", and *Setu* [सेतु], Sanskrit for "bridge") is a local-first AI Developer OS, Context Gatherer, and Kanban Tracker.
59
+ It bridges the gap between Large Language Models (LLMs) and your local file system by treating your codebase as the ultimate source of truth. Instead of pasting code snippets back and forth, inSetu compiles massive, repository-wide context payloads for your LLM, and uses a deterministic "Sync Bridge" to apply the LLM's structural patches directly to your disk.
60
+ <!-- 60-Second Demo Video/GIF Slot -->
61
+ ![inSetu 60-Second Demo](docs/assets/demo.gif)
62
+ *(Watch the 60-second demo: Yomama Sync Bridge, AST Pre-Flight Bouncer, and Emergency Lifeboat OS)*
63
+ ## ✨ Core Substrate Engines & Extensions
64
+
65
+ ### ⚙️ Core Substrate Modules (Tier 2)
66
+ * **The Yomama Sync Bridge:** A strict patching engine utilizing an in-memory Virtual File System. It parses `<<<<<<< SEARCH` and `>>>>>>> REPLACE` blocks, safely applies diffs, runs native pre-flight syntax validation (Python/JS/JSON), and commits to disk atomically.
67
+ * **Context Gatherer:** Scrapes mapped repositories to compile massive `.txt` context payloads (RAG) for Large Language Models.
68
+ * **Virtual File System (VFS):** Asynchronous commit pipeline, POSIX path sandbox resolution, and event ledger logging for zero-lock writes.
69
+ * **Cartographer:** Automatically maps repository topologies and generates a deterministic `CODE_INDEX.md` architectural blueprint to prevent logic drift.
70
+
71
+ ### 🔌 Domain Extensions (Tier 3)
72
+ * **Modular Extensions & Integrations:** Pluggable tools including Markdown Kanban Tracker, Integrated Git Operations, Embedded Terminal, Workflows (Flow), Prompt Library, Notes, CSL-JSON Reference Library & Research Inbox, Skills Spaced-Repetition Tracker, Freshdesk Helpdesk Integration, Tailscale Zero-Trust Networking, and Semantic Release Automation.
73
+
74
+ ## 🏗️ System Architecture
75
+ `inSetu` is built on a modular three-tier architecture:
76
+
77
+ ```text
78
+ ┌─────────────────────────────────────────────────────────┐
79
+ │ Tier 3: Domain Extensions │
80
+ │ (Kanban Tracker, Citations, Git, Flow, Prompts, etc.) │
81
+ └────────────────────────────┬────────────────────────────┘
82
+ │
83
+ ┌────────────────────────────▼────────────────────────────┐
84
+ │ Tier 2: Core Substrate Engines │
85
+ │ (Gather Compiler, Yomama Bridge, Cartographer, VFS) │
86
+ └────────────────────────────┬────────────────────────────┘
87
+ │
88
+ ┌────────────────────────────▼────────────────────────────┐
89
+ │ Tier 1: Kernel & Micro-Kernel │
90
+ │ (inSetu Event Bus / VFS Queue + Sutram / yenVUI UI) │
91
+ └─────────────────────────────────────────────────────────┘
92
+
93
+ ```
94
+
95
+ ## 📋 Prerequisites
96
+
97
+ ### Core System Requirements
98
+
99
+ * **Python 3.10+**
100
+ * **Git** (*Required* for repository topology mapping, code indexing, diff generation, and release management)
101
+
102
+ ### Optional System Binaries
103
+
104
+ * **Node.js** (Optional: Enables pre-flight JavaScript/TypeScript AST syntax validation in the Yomama Sync Bridge)
105
+ * **Pandoc & LaTeX** (Optional: Enables document compilation to PDF/DOCX via the `format` extension)
106
+ * **Tailscale** (Optional: Enables zero-trust HTTPS network binding over private Tailnets)
107
+
108
+ ## 🚀 Installation
109
+ ```bash
110
+ # Clone the repository
111
+ git clone https://github.com/Callosemic/insetu.git
112
+ cd insetu
113
+
114
+ # Install base OS dependencies
115
+ pip install -e .
116
+
117
+ # (Optional) Install full extension suite (includes Playwright, BeautifulSoup, Mistune, etc.)
118
+ pip install -e .[all]
119
+
120
+ ```
121
+ ## 💻 Usage & CLI Reference
122
+
123
+ Once installed, the `insetu` command is available anywhere on your system.
124
+ ### 1. Boot the Developer OS (`serve`)
125
+
126
+ ```bash
127
+ insetu serve
128
+ ```
129
+
130
+ Executing `insetu serve` treats your current working directory (`cwd`) as the active workspace root, reading configuration from `cwd/.insetu/config.json` (and automatically scaffolding local `.insetu/` configuration files if initialized in a fresh directory for the first time). The web daemon boots on `http://127.0.0.1:5005`.
131
+
132
+ ### 2. Background Daemon Management (`service`)
133
+
134
+ On Linux systems, you can install and manage inSetu as an unprivileged `systemd` user service anchored to your workspace directory:
135
+
136
+ ```bash
137
+ # Install, enable, and start the systemd user service anchored to cwd
138
+ insetu service install
139
+
140
+ # Inspect background daemon telemetry and systemd status
141
+ insetu service status
142
+
143
+ # Control background service execution
144
+ insetu service start
145
+ insetu service stop
146
+ insetu service restart
147
+
148
+ # Disable and uninstall the systemd user unit
149
+ insetu service uninstall
150
+ ```
151
+
152
+ ### 3. Scaffold Custom Extensions (`create-extension`)
153
+
154
+ Scaffold a new Tier 3 extension template directly inside `insetu/extensions/`:
155
+
156
+ ```bash
157
+ insetu create-extension <extension_name>
158
+ ```
159
+
160
+ This automatically generates the extension directory, Python engine (`engine_<name>.py`), Lit Web Component (`ext_<name>.js`), and vendor manifest (`vendor.json`).
161
+ ## ⚙️ Configuration & Ports
162
+
163
+ Upon first boot in a workspace, inSetu silently scaffolds your local configuration into `.insetu/` inside your current working directory.
164
+
165
+ By default, the daemon binds to port `5005`. You can change this in two ways:
166
+
167
+ **1. Environment Variable (Temporary)**
168
+ ```bash
169
+ INSETU_PORT=8080 insetu serve
170
+ ```
171
+
172
+ **2. Config File (Persistent)**
173
+ Edit the scaffolded config file (`.insetu/config.json` inside your working directory) and update the `"port"` key:
174
+ ```json
175
+ {
176
+ "instance_title": "inSetu Developer OS",
177
+ "port": 8080
178
+ }
179
+ ```
180
+ *(Note: If you are running inSetu as a `systemd` service, restart it via `insetu service restart` after modifying the config).*
181
+
182
+ ---
183
+
184
+ ## 🌍 Remote Access & Proxies
185
+
186
+ inSetu is designed to be a local-first tool, natively binding to `127.0.0.1:5005` to protect your filesystem. If you want to access your Developer OS remotely (e.g., from an iPad or a different workstation), we recommend using a secure tunneling service rather than opening router ports.
187
+
188
+ **Using Tailscale (Recommended):**
189
+ Tailscale provides a zero-config VPN. You can securely serve the inSetu port over your private Tailnet using Tailscale Serve:
190
+ ```bash
191
+ # Expose inSetu securely over your Tailnet
192
+ sudo tailscale serve --bg --https=443 http://127.0.0.1:5005
193
+
194
+ ```
195
+ **Using Ngrok:**
196
+ If you need temporary public access, you can use Ngrok to forward the port:
197
+
198
+ ```bash
199
+ ngrok http 5005
200
+
201
+ ```
202
+ *(Note: If using Ngrok, ensure you trust the network or use Ngrok's basic auth features, as inSetu has direct write access to your local filesystem).*
203
+
204
+ ---
205
+
206
+ ## 📚 Architectural Essays & Articles
207
+
208
+ Read the long-form essays exploring the philosophy, sociology, and zero-bundler architecture behind inSetu:
209
+ * **[The Habitus of the Machine](https://draftpunk.substack.com):** Why modern web frameworks are hostile to LLMs, and how to build a cognitive substrate that works.
210
+ * **[The Lost Joy of the Refresh Button](https://draftpunk.substack.com):** Escaping massive compilation chains and reclaiming visceral developer feedback loops.
211
+ * **[The UX of Resistance](https://draftpunk.substack.com):** Why friction is a feature in AI-assisted coding.
212
+
213
+ ---
214
+ ## 💬 Fractional Consulting & Advisory
215
+
216
+ Building deterministic AI pipelines, local developer environments, or custom Pydantic guardrails for hardware/software products?
217
+
218
+ * **Book a 15-minute discovery call:** [Cal.com / Booking Link](https://cal.com/jrnguyen)
219
+ * **Direct Contact:** `hello@insetu.dev`
220
+
221
+ ---
222
+
223
+ ## 📄 License
224
+
225
+ Licensed under the **Apache License, Version 2.0**. See the [LICENSE](LICENSE) and [NOTICE](NOTICE) files for details.
@@ -0,0 +1,171 @@
1
+ # 🌉 inSetu: AI Developer OS
2
+ [![License](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](LICENSE)
3
+
4
+ **inSetu** (from *in situ*, meaning "in position" or "on site", and *Setu* [सेतु], Sanskrit for "bridge") is a local-first AI Developer OS, Context Gatherer, and Kanban Tracker.
5
+ It bridges the gap between Large Language Models (LLMs) and your local file system by treating your codebase as the ultimate source of truth. Instead of pasting code snippets back and forth, inSetu compiles massive, repository-wide context payloads for your LLM, and uses a deterministic "Sync Bridge" to apply the LLM's structural patches directly to your disk.
6
+ <!-- 60-Second Demo Video/GIF Slot -->
7
+ ![inSetu 60-Second Demo](docs/assets/demo.gif)
8
+ *(Watch the 60-second demo: Yomama Sync Bridge, AST Pre-Flight Bouncer, and Emergency Lifeboat OS)*
9
+ ## ✨ Core Substrate Engines & Extensions
10
+
11
+ ### ⚙️ Core Substrate Modules (Tier 2)
12
+ * **The Yomama Sync Bridge:** A strict patching engine utilizing an in-memory Virtual File System. It parses `<<<<<<< SEARCH` and `>>>>>>> REPLACE` blocks, safely applies diffs, runs native pre-flight syntax validation (Python/JS/JSON), and commits to disk atomically.
13
+ * **Context Gatherer:** Scrapes mapped repositories to compile massive `.txt` context payloads (RAG) for Large Language Models.
14
+ * **Virtual File System (VFS):** Asynchronous commit pipeline, POSIX path sandbox resolution, and event ledger logging for zero-lock writes.
15
+ * **Cartographer:** Automatically maps repository topologies and generates a deterministic `CODE_INDEX.md` architectural blueprint to prevent logic drift.
16
+
17
+ ### 🔌 Domain Extensions (Tier 3)
18
+ * **Modular Extensions & Integrations:** Pluggable tools including Markdown Kanban Tracker, Integrated Git Operations, Embedded Terminal, Workflows (Flow), Prompt Library, Notes, CSL-JSON Reference Library & Research Inbox, Skills Spaced-Repetition Tracker, Freshdesk Helpdesk Integration, Tailscale Zero-Trust Networking, and Semantic Release Automation.
19
+
20
+ ## 🏗️ System Architecture
21
+ `inSetu` is built on a modular three-tier architecture:
22
+
23
+ ```text
24
+ ┌─────────────────────────────────────────────────────────┐
25
+ │ Tier 3: Domain Extensions │
26
+ │ (Kanban Tracker, Citations, Git, Flow, Prompts, etc.) │
27
+ └────────────────────────────┬────────────────────────────┘
28
+ │
29
+ ┌────────────────────────────▼────────────────────────────┐
30
+ │ Tier 2: Core Substrate Engines │
31
+ │ (Gather Compiler, Yomama Bridge, Cartographer, VFS) │
32
+ └────────────────────────────┬────────────────────────────┘
33
+ │
34
+ ┌────────────────────────────▼────────────────────────────┐
35
+ │ Tier 1: Kernel & Micro-Kernel │
36
+ │ (inSetu Event Bus / VFS Queue + Sutram / yenVUI UI) │
37
+ └─────────────────────────────────────────────────────────┘
38
+
39
+ ```
40
+
41
+ ## 📋 Prerequisites
42
+
43
+ ### Core System Requirements
44
+
45
+ * **Python 3.10+**
46
+ * **Git** (*Required* for repository topology mapping, code indexing, diff generation, and release management)
47
+
48
+ ### Optional System Binaries
49
+
50
+ * **Node.js** (Optional: Enables pre-flight JavaScript/TypeScript AST syntax validation in the Yomama Sync Bridge)
51
+ * **Pandoc & LaTeX** (Optional: Enables document compilation to PDF/DOCX via the `format` extension)
52
+ * **Tailscale** (Optional: Enables zero-trust HTTPS network binding over private Tailnets)
53
+
54
+ ## 🚀 Installation
55
+ ```bash
56
+ # Clone the repository
57
+ git clone https://github.com/Callosemic/insetu.git
58
+ cd insetu
59
+
60
+ # Install base OS dependencies
61
+ pip install -e .
62
+
63
+ # (Optional) Install full extension suite (includes Playwright, BeautifulSoup, Mistune, etc.)
64
+ pip install -e .[all]
65
+
66
+ ```
67
+ ## 💻 Usage & CLI Reference
68
+
69
+ Once installed, the `insetu` command is available anywhere on your system.
70
+ ### 1. Boot the Developer OS (`serve`)
71
+
72
+ ```bash
73
+ insetu serve
74
+ ```
75
+
76
+ Executing `insetu serve` treats your current working directory (`cwd`) as the active workspace root, reading configuration from `cwd/.insetu/config.json` (and automatically scaffolding local `.insetu/` configuration files if initialized in a fresh directory for the first time). The web daemon boots on `http://127.0.0.1:5005`.
77
+
78
+ ### 2. Background Daemon Management (`service`)
79
+
80
+ On Linux systems, you can install and manage inSetu as an unprivileged `systemd` user service anchored to your workspace directory:
81
+
82
+ ```bash
83
+ # Install, enable, and start the systemd user service anchored to cwd
84
+ insetu service install
85
+
86
+ # Inspect background daemon telemetry and systemd status
87
+ insetu service status
88
+
89
+ # Control background service execution
90
+ insetu service start
91
+ insetu service stop
92
+ insetu service restart
93
+
94
+ # Disable and uninstall the systemd user unit
95
+ insetu service uninstall
96
+ ```
97
+
98
+ ### 3. Scaffold Custom Extensions (`create-extension`)
99
+
100
+ Scaffold a new Tier 3 extension template directly inside `insetu/extensions/`:
101
+
102
+ ```bash
103
+ insetu create-extension <extension_name>
104
+ ```
105
+
106
+ This automatically generates the extension directory, Python engine (`engine_<name>.py`), Lit Web Component (`ext_<name>.js`), and vendor manifest (`vendor.json`).
107
+ ## ⚙️ Configuration & Ports
108
+
109
+ Upon first boot in a workspace, inSetu silently scaffolds your local configuration into `.insetu/` inside your current working directory.
110
+
111
+ By default, the daemon binds to port `5005`. You can change this in two ways:
112
+
113
+ **1. Environment Variable (Temporary)**
114
+ ```bash
115
+ INSETU_PORT=8080 insetu serve
116
+ ```
117
+
118
+ **2. Config File (Persistent)**
119
+ Edit the scaffolded config file (`.insetu/config.json` inside your working directory) and update the `"port"` key:
120
+ ```json
121
+ {
122
+ "instance_title": "inSetu Developer OS",
123
+ "port": 8080
124
+ }
125
+ ```
126
+ *(Note: If you are running inSetu as a `systemd` service, restart it via `insetu service restart` after modifying the config).*
127
+
128
+ ---
129
+
130
+ ## 🌍 Remote Access & Proxies
131
+
132
+ inSetu is designed to be a local-first tool, natively binding to `127.0.0.1:5005` to protect your filesystem. If you want to access your Developer OS remotely (e.g., from an iPad or a different workstation), we recommend using a secure tunneling service rather than opening router ports.
133
+
134
+ **Using Tailscale (Recommended):**
135
+ Tailscale provides a zero-config VPN. You can securely serve the inSetu port over your private Tailnet using Tailscale Serve:
136
+ ```bash
137
+ # Expose inSetu securely over your Tailnet
138
+ sudo tailscale serve --bg --https=443 http://127.0.0.1:5005
139
+
140
+ ```
141
+ **Using Ngrok:**
142
+ If you need temporary public access, you can use Ngrok to forward the port:
143
+
144
+ ```bash
145
+ ngrok http 5005
146
+
147
+ ```
148
+ *(Note: If using Ngrok, ensure you trust the network or use Ngrok's basic auth features, as inSetu has direct write access to your local filesystem).*
149
+
150
+ ---
151
+
152
+ ## 📚 Architectural Essays & Articles
153
+
154
+ Read the long-form essays exploring the philosophy, sociology, and zero-bundler architecture behind inSetu:
155
+ * **[The Habitus of the Machine](https://draftpunk.substack.com):** Why modern web frameworks are hostile to LLMs, and how to build a cognitive substrate that works.
156
+ * **[The Lost Joy of the Refresh Button](https://draftpunk.substack.com):** Escaping massive compilation chains and reclaiming visceral developer feedback loops.
157
+ * **[The UX of Resistance](https://draftpunk.substack.com):** Why friction is a feature in AI-assisted coding.
158
+
159
+ ---
160
+ ## 💬 Fractional Consulting & Advisory
161
+
162
+ Building deterministic AI pipelines, local developer environments, or custom Pydantic guardrails for hardware/software products?
163
+
164
+ * **Book a 15-minute discovery call:** [Cal.com / Booking Link](https://cal.com/jrnguyen)
165
+ * **Direct Contact:** `hello@insetu.dev`
166
+
167
+ ---
168
+
169
+ ## 📄 License
170
+
171
+ Licensed under the **Apache License, Version 2.0**. See the [LICENSE](LICENSE) and [NOTICE](NOTICE) files for details.