@amityco/social-plus-vise 0.4.0

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/LICENSE ADDED
@@ -0,0 +1,51 @@
1
+ Copyright (c) 2026 AmityCo, Ltd. All rights reserved.
2
+
3
+ This software, including its source code, binaries, rule sets, and
4
+ documentation (the "Software"), is the proprietary and confidential
5
+ property of AmityCo, Ltd.
6
+
7
+ PERMITTED USE
8
+
9
+ You may install and use this Software solely for the purpose of
10
+ integrating the social.plus SDK into your own applications, subject to
11
+ your agreement with AmityCo, Ltd. covering use of the social.plus
12
+ platform. Internal use, evaluation, and integration testing within
13
+ your organisation are permitted.
14
+
15
+ RESTRICTIONS
16
+
17
+ Without prior written consent from AmityCo, Ltd. you may not:
18
+
19
+ 1. Redistribute, sublicense, sell, lease, rent, or otherwise transfer
20
+ this Software, in whole or in part, to any third party.
21
+
22
+ 2. Fork, modify, or create derivative works of the Software for
23
+ redistribution or for use outside your own social.plus integration.
24
+
25
+ 3. Use the Software to provide services to third parties (including
26
+ consulting, hosted services, or system integration services) unless
27
+ authorised under a separate partner or reseller agreement with
28
+ AmityCo, Ltd.
29
+
30
+ 4. Remove, alter, or obscure any copyright, trademark, or attribution
31
+ notices in the Software.
32
+
33
+ 5. Reverse engineer or attempt to derive the source of any compiled
34
+ portion of the Software except as expressly permitted by applicable
35
+ law.
36
+
37
+ The rule definitions, attestation schema, and compliance contract
38
+ shipped in this Software (the "social.plus integration compliance
39
+ contract") are AmityCo, Ltd.'s intellectual property. Customers own
40
+ the attestations they record under sp-foundry/ in their own
41
+ repositories.
42
+
43
+ WARRANTY DISCLAIMER
44
+
45
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
46
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
47
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NONINFRINGEMENT.
48
+ IN NO EVENT SHALL AMITYCO, LTD. BE LIABLE FOR ANY CLAIM, DAMAGES, OR
49
+ OTHER LIABILITY ARISING FROM USE OF THE SOFTWARE.
50
+
51
+ Contact: legal@amity.co
package/README.md ADDED
@@ -0,0 +1,92 @@
1
+ # Vise Skill and CLI
2
+
3
+ This package provides deterministic local tooling for social.plus SDK integration assistance.
4
+
5
+ The bundled skill is the AI workflow layer. It tells host agents how to move from user intent to inspect, plan, docs grounding, edits, validation, and sensor runs.
6
+
7
+ The CLI is the deterministic execution layer. It can inspect repositories, detect design/theme signals, search hosted docs, plan harness guides/sensors, produce grounded integration plans with structured intake questions, validate setup patterns, and run detected project sensors.
8
+
9
+ Vise is shipped locally because SDK implementation quality depends on both hosted social.plus docs and the customer's local project context. Local execution lets Vise inspect manifests, app surfaces, design tokens, lifecycle code, and constrained command sensors while keeping source code on the customer's machine.
10
+
11
+ The stdio MCP server is an optional compatibility adapter over the same CLI-backed operations for MCP-capable tools. It is not the primary workflow layer.
12
+
13
+ Frequent customer paths have dedicated guardrails:
14
+
15
+ - feed and post creation: concrete feed target, no invented communityId/targetId/feedId, no inline API keys
16
+ - secrets: never request API keys or credentials in chat; create env/config placeholders and have the user fill real values locally
17
+ - notification setup: platform credentials, token source, registration after login, unregister on logout/user switch
18
+ - Live Objects/Collections: object vs collection, observed domain, lifecycle owner, loading/error states, cleanup
19
+ - monorepos: detected app surfaces can be selected with `surfacePath`
20
+
21
+ `run_sensors` is constrained to detected project commands. It does not accept arbitrary shell input.
22
+
23
+ ## Commands
24
+
25
+ Install Vise globally:
26
+
27
+ ```sh
28
+ npm install -g @amityco/social-plus-vise
29
+ vise doctor
30
+ ```
31
+
32
+ Local development:
33
+
34
+ ```sh
35
+ npm install
36
+ npm run build
37
+ npm start
38
+ ```
39
+
40
+ CLI:
41
+
42
+ ```sh
43
+ vise doctor
44
+ vise install-skill --target codex
45
+ vise install-skill --target claude
46
+ vise install-skill --target claude-project .
47
+ vise install-skill --target agents .
48
+ vise install-skill --target cursor .
49
+ vise install-skill --target vscode .
50
+ vise install-skill --target copilot .
51
+ vise print-skill
52
+ vise search-docs "create post"
53
+ vise get-doc-page social-plus-sdk/social/content-management/posts/creation/text-post
54
+ vise inspect
55
+ vise plan-harness --request "Add a social feed"
56
+ vise plan --request "Add a social feed"
57
+ vise init --request "Add a social feed"
58
+ vise check
59
+ vise sync
60
+ vise attest --rule typescript.client.region --confidence high --signer host-agent --evidence-file evidence.json --rationale "..."
61
+ vise explain typescript.client.region
62
+ vise status
63
+ vise engagement init --tier pro --customer-id acme --scope add-feed,setup-push
64
+ vise engagement show
65
+ vise validate
66
+ vise run-sensors --dry-run
67
+ vise mcp
68
+ ```
69
+
70
+ Bundled skill guidance ships in `skills/social-plus-vise/SKILL.md` for coding tools that support Agent Skills or instruction-pack installation. Use `vise install-skill --target codex`, `vise install-skill --target claude`, `vise install-skill --target claude-project .`, `vise install-skill --target agents .`, `vise install-skill --target cursor .`, `vise install-skill --target vscode .`, `vise install-skill --target copilot .`, or `vise print-skill`. The Cursor target installs native project skills under `.cursor/skills`; the VS Code and Copilot targets install native project skills under `.github/skills`; `--target cursor-rules` remains available for Cursor project-rule fallback installs.
71
+
72
+ Full local validation:
73
+
74
+ ```sh
75
+ npm run validate
76
+ ```
77
+
78
+ Product-oriented Vise improvement discovery:
79
+
80
+ ```sh
81
+ npm run test:improvements
82
+ ```
83
+
84
+ ## Docs Source
85
+
86
+ By default, docs are read from:
87
+
88
+ ```text
89
+ https://learn.social.plus/llms-full.txt
90
+ ```
91
+
92
+ Maintainers can set `SOCIAL_PLUS_DOCS_ROOT` to test against a local `social-plus-docs` checkout.