sphica 0.6.30 → 0.6.32
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/.claude-plugin/plugin.json +1 -1
- package/.codex-plugin/plugin.json +1 -1
- package/README.md +2 -2
- package/THIRD_PARTY_NOTICES.md +33 -0
- package/dist/capture.js +267 -0
- package/dist/cli.js +1457 -97
- package/dist/deliver.js +267 -0
- package/dist/mcp-record.js +267 -0
- package/dist/mcp.js +269 -0
- package/hooks/codex.json +9 -9
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://anthropic.com/claude-code/plugin.schema.json",
|
|
3
3
|
"name": "sphica",
|
|
4
|
-
"version": "0.6.
|
|
4
|
+
"version": "0.6.32",
|
|
5
5
|
"description": "Records Claude Code and Codex sessions on your machine and keeps past implementation and decisions, with their sources, for your agent to find.",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "iroha924",
|
package/README.md
CHANGED
|
@@ -69,7 +69,7 @@ codex plugin marketplace add iroha924/sphica --ref main
|
|
|
69
69
|
codex plugin add sphica@sphica
|
|
70
70
|
```
|
|
71
71
|
|
|
72
|
-
In Codex, open `/hooks` and mark Sphica's hooks as trusted. Automatic recording does not start until you do. If a plugin update changes the hooks, trust them again.
|
|
72
|
+
In Codex, open `/hooks` and mark Sphica's hooks as trusted. Automatic recording does not start until you do. If a plugin update changes the hooks, trust them again. The "Codex hooks" line of `sphica doctor` shows how many are trusted (for Codex 0.160.0).
|
|
73
73
|
|
|
74
74
|
**3. Set up in your repository**
|
|
75
75
|
|
|
@@ -192,7 +192,7 @@ npm uninstall -g sphica
|
|
|
192
192
|
Run `sphica doctor` first. It shows which part is out of date or not working. Common cases:
|
|
193
193
|
|
|
194
194
|
- **`sphica: command not found`.** The plugin does not put the CLI on your PATH. Run `npm i -g sphica`.
|
|
195
|
-
- **Nothing is recorded.** Check that `sphica doctor` lists the repository under Projects. In Codex, also check
|
|
195
|
+
- **Nothing is recorded.** Check that `sphica doctor` lists the repository under Projects. In Codex, also check the "Codex hooks" line, or `/hooks`, for hooks that are not trusted.
|
|
196
196
|
- **The MCP servers report an older version.** Restart the session, or run `/reload-plugins` in Claude Code.
|
|
197
197
|
- **A search finds nothing.** Search matches words. Try other words, the other language, an identifier, or fewer words. Ask the agent to check `status`: sessions not traced yet are searchable only as captured text.
|
|
198
198
|
- **`doctor` says the full-text index is broken.** Run `sphica doctor --reindex`.
|
package/THIRD_PARTY_NOTICES.md
CHANGED
|
@@ -100,6 +100,7 @@ This file is generated by `node scripts/third-party-notices.mjs`. Do not edit it
|
|
|
100
100
|
| side-channel-map | 1.0.1 | MIT |
|
|
101
101
|
| side-channel-weakmap | 1.0.2 | MIT |
|
|
102
102
|
| sisteransi | 1.0.5 | MIT |
|
|
103
|
+
| smol-toml | 1.9.0 | BSD-3-Clause |
|
|
103
104
|
| statuses | 2.0.2 | MIT |
|
|
104
105
|
| toidentifier | 1.0.1 | MIT |
|
|
105
106
|
| type-is | 2.1.0 | MIT |
|
|
@@ -2991,6 +2992,38 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
|
2991
2992
|
SOFTWARE.
|
|
2992
2993
|
```
|
|
2993
2994
|
|
|
2995
|
+
## smol-toml 1.9.0
|
|
2996
|
+
|
|
2997
|
+
SPDX: BSD-3-Clause
|
|
2998
|
+
Source: github:squirrelchat/smol-toml
|
|
2999
|
+
|
|
3000
|
+
```
|
|
3001
|
+
Copyright (c) Squirrel Chat et al., All rights reserved.
|
|
3002
|
+
|
|
3003
|
+
Redistribution and use in source and binary forms, with or without
|
|
3004
|
+
modification, are permitted provided that the following conditions are met:
|
|
3005
|
+
|
|
3006
|
+
1. Redistributions of source code must retain the above copyright notice, this
|
|
3007
|
+
list of conditions and the following disclaimer.
|
|
3008
|
+
2. Redistributions in binary form must reproduce the above copyright notice,
|
|
3009
|
+
this list of conditions and the following disclaimer in the
|
|
3010
|
+
documentation and/or other materials provided with the distribution.
|
|
3011
|
+
3. Neither the name of the copyright holder nor the names of its contributors
|
|
3012
|
+
may be used to endorse or promote products derived from this software without
|
|
3013
|
+
specific prior written permission.
|
|
3014
|
+
|
|
3015
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
|
3016
|
+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
|
3017
|
+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
3018
|
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
|
3019
|
+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
3020
|
+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
3021
|
+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
3022
|
+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
3023
|
+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
3024
|
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
3025
|
+
```
|
|
3026
|
+
|
|
2994
3027
|
## statuses 2.0.2
|
|
2995
3028
|
|
|
2996
3029
|
SPDX: MIT
|
package/dist/capture.js
CHANGED
|
@@ -10818,6 +10818,273 @@ import fs from "node:fs";
|
|
|
10818
10818
|
import path from "node:path";
|
|
10819
10819
|
import { fileURLToPath } from "node:url";
|
|
10820
10820
|
|
|
10821
|
+
// server/node_modules/smol-toml/dist/error.js
|
|
10822
|
+
/*!
|
|
10823
|
+
* Copyright (c) Squirrel Chat et al., All rights reserved.
|
|
10824
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
10825
|
+
*
|
|
10826
|
+
* Redistribution and use in source and binary forms, with or without
|
|
10827
|
+
* modification, are permitted provided that the following conditions are met:
|
|
10828
|
+
*
|
|
10829
|
+
* 1. Redistributions of source code must retain the above copyright notice, this
|
|
10830
|
+
* list of conditions and the following disclaimer.
|
|
10831
|
+
* 2. Redistributions in binary form must reproduce the above copyright notice,
|
|
10832
|
+
* this list of conditions and the following disclaimer in the
|
|
10833
|
+
* documentation and/or other materials provided with the distribution.
|
|
10834
|
+
* 3. Neither the name of the copyright holder nor the names of its contributors
|
|
10835
|
+
* may be used to endorse or promote products derived from this software without
|
|
10836
|
+
* specific prior written permission.
|
|
10837
|
+
*
|
|
10838
|
+
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
|
10839
|
+
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
|
10840
|
+
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
10841
|
+
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
|
10842
|
+
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
10843
|
+
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
10844
|
+
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
10845
|
+
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
10846
|
+
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
10847
|
+
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
10848
|
+
*/
|
|
10849
|
+
|
|
10850
|
+
// server/node_modules/smol-toml/dist/primitive.js
|
|
10851
|
+
/*!
|
|
10852
|
+
* Copyright (c) Squirrel Chat et al., All rights reserved.
|
|
10853
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
10854
|
+
*
|
|
10855
|
+
* Redistribution and use in source and binary forms, with or without
|
|
10856
|
+
* modification, are permitted provided that the following conditions are met:
|
|
10857
|
+
*
|
|
10858
|
+
* 1. Redistributions of source code must retain the above copyright notice, this
|
|
10859
|
+
* list of conditions and the following disclaimer.
|
|
10860
|
+
* 2. Redistributions in binary form must reproduce the above copyright notice,
|
|
10861
|
+
* this list of conditions and the following disclaimer in the
|
|
10862
|
+
* documentation and/or other materials provided with the distribution.
|
|
10863
|
+
* 3. Neither the name of the copyright holder nor the names of its contributors
|
|
10864
|
+
* may be used to endorse or promote products derived from this software without
|
|
10865
|
+
* specific prior written permission.
|
|
10866
|
+
*
|
|
10867
|
+
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
|
10868
|
+
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
|
10869
|
+
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
10870
|
+
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
|
10871
|
+
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
10872
|
+
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
10873
|
+
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
10874
|
+
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
10875
|
+
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
10876
|
+
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
10877
|
+
*/
|
|
10878
|
+
|
|
10879
|
+
// server/node_modules/smol-toml/dist/date.js
|
|
10880
|
+
/*!
|
|
10881
|
+
* Copyright (c) Squirrel Chat et al., All rights reserved.
|
|
10882
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
10883
|
+
*
|
|
10884
|
+
* Redistribution and use in source and binary forms, with or without
|
|
10885
|
+
* modification, are permitted provided that the following conditions are met:
|
|
10886
|
+
*
|
|
10887
|
+
* 1. Redistributions of source code must retain the above copyright notice, this
|
|
10888
|
+
* list of conditions and the following disclaimer.
|
|
10889
|
+
* 2. Redistributions in binary form must reproduce the above copyright notice,
|
|
10890
|
+
* this list of conditions and the following disclaimer in the
|
|
10891
|
+
* documentation and/or other materials provided with the distribution.
|
|
10892
|
+
* 3. Neither the name of the copyright holder nor the names of its contributors
|
|
10893
|
+
* may be used to endorse or promote products derived from this software without
|
|
10894
|
+
* specific prior written permission.
|
|
10895
|
+
*
|
|
10896
|
+
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
|
10897
|
+
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
|
10898
|
+
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
10899
|
+
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
|
10900
|
+
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
10901
|
+
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
10902
|
+
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
10903
|
+
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
10904
|
+
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
10905
|
+
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
10906
|
+
*/
|
|
10907
|
+
|
|
10908
|
+
// server/node_modules/smol-toml/dist/extract.js
|
|
10909
|
+
/*!
|
|
10910
|
+
* Copyright (c) Squirrel Chat et al., All rights reserved.
|
|
10911
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
10912
|
+
*
|
|
10913
|
+
* Redistribution and use in source and binary forms, with or without
|
|
10914
|
+
* modification, are permitted provided that the following conditions are met:
|
|
10915
|
+
*
|
|
10916
|
+
* 1. Redistributions of source code must retain the above copyright notice, this
|
|
10917
|
+
* list of conditions and the following disclaimer.
|
|
10918
|
+
* 2. Redistributions in binary form must reproduce the above copyright notice,
|
|
10919
|
+
* this list of conditions and the following disclaimer in the
|
|
10920
|
+
* documentation and/or other materials provided with the distribution.
|
|
10921
|
+
* 3. Neither the name of the copyright holder nor the names of its contributors
|
|
10922
|
+
* may be used to endorse or promote products derived from this software without
|
|
10923
|
+
* specific prior written permission.
|
|
10924
|
+
*
|
|
10925
|
+
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
|
10926
|
+
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
|
10927
|
+
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
10928
|
+
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
|
10929
|
+
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
10930
|
+
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
10931
|
+
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
10932
|
+
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
10933
|
+
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
10934
|
+
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
10935
|
+
*/
|
|
10936
|
+
|
|
10937
|
+
// server/node_modules/smol-toml/dist/util.js
|
|
10938
|
+
/*!
|
|
10939
|
+
* Copyright (c) Squirrel Chat et al., All rights reserved.
|
|
10940
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
10941
|
+
*
|
|
10942
|
+
* Redistribution and use in source and binary forms, with or without
|
|
10943
|
+
* modification, are permitted provided that the following conditions are met:
|
|
10944
|
+
*
|
|
10945
|
+
* 1. Redistributions of source code must retain the above copyright notice, this
|
|
10946
|
+
* list of conditions and the following disclaimer.
|
|
10947
|
+
* 2. Redistributions in binary form must reproduce the above copyright notice,
|
|
10948
|
+
* this list of conditions and the following disclaimer in the
|
|
10949
|
+
* documentation and/or other materials provided with the distribution.
|
|
10950
|
+
* 3. Neither the name of the copyright holder nor the names of its contributors
|
|
10951
|
+
* may be used to endorse or promote products derived from this software without
|
|
10952
|
+
* specific prior written permission.
|
|
10953
|
+
*
|
|
10954
|
+
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
|
10955
|
+
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
|
10956
|
+
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
10957
|
+
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
|
10958
|
+
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
10959
|
+
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
10960
|
+
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
10961
|
+
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
10962
|
+
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
10963
|
+
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
10964
|
+
*/
|
|
10965
|
+
|
|
10966
|
+
// server/node_modules/smol-toml/dist/struct.js
|
|
10967
|
+
/*!
|
|
10968
|
+
* Copyright (c) Squirrel Chat et al., All rights reserved.
|
|
10969
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
10970
|
+
*
|
|
10971
|
+
* Redistribution and use in source and binary forms, with or without
|
|
10972
|
+
* modification, are permitted provided that the following conditions are met:
|
|
10973
|
+
*
|
|
10974
|
+
* 1. Redistributions of source code must retain the above copyright notice, this
|
|
10975
|
+
* list of conditions and the following disclaimer.
|
|
10976
|
+
* 2. Redistributions in binary form must reproduce the above copyright notice,
|
|
10977
|
+
* this list of conditions and the following disclaimer in the
|
|
10978
|
+
* documentation and/or other materials provided with the distribution.
|
|
10979
|
+
* 3. Neither the name of the copyright holder nor the names of its contributors
|
|
10980
|
+
* may be used to endorse or promote products derived from this software without
|
|
10981
|
+
* specific prior written permission.
|
|
10982
|
+
*
|
|
10983
|
+
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
|
10984
|
+
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
|
10985
|
+
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
10986
|
+
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
|
10987
|
+
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
10988
|
+
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
10989
|
+
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
10990
|
+
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
10991
|
+
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
10992
|
+
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
10993
|
+
*/
|
|
10994
|
+
|
|
10995
|
+
// server/node_modules/smol-toml/dist/parse.js
|
|
10996
|
+
/*!
|
|
10997
|
+
* Copyright (c) Squirrel Chat et al., All rights reserved.
|
|
10998
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
10999
|
+
*
|
|
11000
|
+
* Redistribution and use in source and binary forms, with or without
|
|
11001
|
+
* modification, are permitted provided that the following conditions are met:
|
|
11002
|
+
*
|
|
11003
|
+
* 1. Redistributions of source code must retain the above copyright notice, this
|
|
11004
|
+
* list of conditions and the following disclaimer.
|
|
11005
|
+
* 2. Redistributions in binary form must reproduce the above copyright notice,
|
|
11006
|
+
* this list of conditions and the following disclaimer in the
|
|
11007
|
+
* documentation and/or other materials provided with the distribution.
|
|
11008
|
+
* 3. Neither the name of the copyright holder nor the names of its contributors
|
|
11009
|
+
* may be used to endorse or promote products derived from this software without
|
|
11010
|
+
* specific prior written permission.
|
|
11011
|
+
*
|
|
11012
|
+
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
|
11013
|
+
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
|
11014
|
+
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
11015
|
+
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
|
11016
|
+
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
11017
|
+
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
11018
|
+
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
11019
|
+
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
11020
|
+
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
11021
|
+
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
11022
|
+
*/
|
|
11023
|
+
|
|
11024
|
+
// server/node_modules/smol-toml/dist/stringify.js
|
|
11025
|
+
/*!
|
|
11026
|
+
* Copyright (c) Squirrel Chat et al., All rights reserved.
|
|
11027
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
11028
|
+
*
|
|
11029
|
+
* Redistribution and use in source and binary forms, with or without
|
|
11030
|
+
* modification, are permitted provided that the following conditions are met:
|
|
11031
|
+
*
|
|
11032
|
+
* 1. Redistributions of source code must retain the above copyright notice, this
|
|
11033
|
+
* list of conditions and the following disclaimer.
|
|
11034
|
+
* 2. Redistributions in binary form must reproduce the above copyright notice,
|
|
11035
|
+
* this list of conditions and the following disclaimer in the
|
|
11036
|
+
* documentation and/or other materials provided with the distribution.
|
|
11037
|
+
* 3. Neither the name of the copyright holder nor the names of its contributors
|
|
11038
|
+
* may be used to endorse or promote products derived from this software without
|
|
11039
|
+
* specific prior written permission.
|
|
11040
|
+
*
|
|
11041
|
+
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
|
11042
|
+
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
|
11043
|
+
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
11044
|
+
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
|
11045
|
+
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
11046
|
+
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
11047
|
+
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
11048
|
+
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
11049
|
+
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
11050
|
+
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
11051
|
+
*/
|
|
11052
|
+
var HAS_WELLFORMED = !!"".isWellFormed;
|
|
11053
|
+
|
|
11054
|
+
// server/node_modules/smol-toml/dist/index.js
|
|
11055
|
+
/*!
|
|
11056
|
+
* Copyright (c) Squirrel Chat et al., All rights reserved.
|
|
11057
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
11058
|
+
*
|
|
11059
|
+
* Redistribution and use in source and binary forms, with or without
|
|
11060
|
+
* modification, are permitted provided that the following conditions are met:
|
|
11061
|
+
*
|
|
11062
|
+
* 1. Redistributions of source code must retain the above copyright notice, this
|
|
11063
|
+
* list of conditions and the following disclaimer.
|
|
11064
|
+
* 2. Redistributions in binary form must reproduce the above copyright notice,
|
|
11065
|
+
* this list of conditions and the following disclaimer in the
|
|
11066
|
+
* documentation and/or other materials provided with the distribution.
|
|
11067
|
+
* 3. Neither the name of the copyright holder nor the names of its contributors
|
|
11068
|
+
* may be used to endorse or promote products derived from this software without
|
|
11069
|
+
* specific prior written permission.
|
|
11070
|
+
*
|
|
11071
|
+
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
|
11072
|
+
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
|
11073
|
+
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
11074
|
+
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
|
11075
|
+
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
11076
|
+
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
11077
|
+
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
11078
|
+
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
11079
|
+
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
11080
|
+
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
11081
|
+
*/
|
|
11082
|
+
|
|
11083
|
+
// server/src/codex-trust.ts
|
|
11084
|
+
var NO_MATCHER = new Set(["UserPromptSubmit", "Stop", "Interrupt"]);
|
|
11085
|
+
var CONTEXT = new Set(["PreToolUse", "PostToolUse", "SessionStart", "UserPromptSubmit", "SubagentStart"]);
|
|
11086
|
+
var SHORT = new Set(["SessionEnd", "Interrupt"]);
|
|
11087
|
+
|
|
10821
11088
|
// server/src/panel.ts
|
|
10822
11089
|
import { stripVTControlCharacters, styleText } from "node:util";
|
|
10823
11090
|
|