@installagent/sdk 0.4.0 → 0.4.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@installagent/sdk",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "Install Agent's shared SDK for internal team operations (client repos, n8n workflows, docs search, and more).",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -29,7 +29,7 @@ installagent/
29
29
  │ ├── client-template/ # THE baseline — every client repo is created from this
30
30
  │ └── client-<slug>/ # e.g. client-carvision, client-kingdom, …
31
31
  ├── team-clients/ # Client REGISTRY (CRM-as-code): who each client is + call history (PRIVATE, PII allowed)
32
- ├── team-infra/ # AWS CDK hosting (n8n, SFTP), the n8n workflow library, shared automation skills
32
+ ├── team-infra/ # AWS CDK hosting (n8n, SFTP), the n8n workflow library, shared automation skills, the pdf compress service
33
33
  ├── team-web/ # Public web: installagent.com (apps/web) + team hub (apps/docs)
34
34
  ├── team-design/ # Install Agent design system source (tokens, components, guidelines)
35
35
  ├── team-branding/ # Logo files (static assets only)
@@ -49,6 +49,7 @@ installagent/
49
49
  | Answer "what did we ship for X / does it work?" | `clients/client-<slug>/docs/00-delivery-log.md` + `evidence/` | same |
50
50
  | Check or change deal status | **Airtable (`Clients - Master`)** — never a file in git | — |
51
51
  | Build or edit an n8n workflow (ours or a client's) | **check `agents/` (the bank) first**, then the client repo's `workflows/` or `team-infra/n8n-workflows/` | `agents/README.md` + `team-infra/skills/n8n-workflow.md` |
52
+ | An n8n workflow sends a PDF on to a size-capped step (a Vercel app, an email, an LLM, a vendor upload) | the **`pdf` compress service** on the n8n box (`http://pdf:8080`): compress first, keep the size gate, keep the original on any error | `team-infra/skills/n8n-workflow.md` § 3 + `team-infra/pdf-service/README.md` |
52
53
  | See what automations we can redeploy / scope a deal against them | `agents/` — catalog table in its README, plain-language `template.md` per template | `agents/README.md` |
53
54
  | Reuse or bank a workflow template (`ia agent save\|templates\|create`) | `agents/` | `agents/AGENT.md` |
54
55
  | Infra (n8n hosting, SFTP, AWS) | `team-infra/` | `team-infra/AGENT.md` |
@@ -128,7 +128,7 @@ installagent/
128
128
  ├── agents/ # the WORKFLOW BANK — reusable n8n templates + plain-language manifests
129
129
  ├── clients/ # one build repo per client + client-template (the baseline)
130
130
  ├── team-clients/ # client REGISTRY: who each client is + call history (private, PII allowed)
131
- ├── team-infra/ # AWS hosting (n8n, SFTP), n8n workflow library, automation skills
131
+ ├── team-infra/ # AWS hosting (n8n, SFTP), n8n workflow library, automation skills, pdf compress service
132
132
  ├── team-web/ # installagent.com + team hub (Next.js pnpm workspace)
133
133
  ├── team-design/ # Install Agent design system source
134
134
  ├── team-branding/ # logo files
@@ -1,7 +1,8 @@
1
1
  name: PR → Slack (approve / close)
2
2
 
3
3
  # Posts every new PR to Slack (as @Agent Zero) with "Merge" and "Close"
4
- # buttons. This workflow only POSTS (it is read-only). The button clicks are
4
+ # buttons — except new-lead `add-client/*` PRs (see the job's `if:`).
5
+ # This workflow only POSTS (it is read-only). The button clicks are
5
6
  # handled by @Agent Zero itself — team-tools/apps/slack-agent, Bolt Socket
6
7
  # Mode, the `pr_merge`/`pr_close` action handlers in src/app.ts — which
7
8
  # squash-merges (or closes) via the GitHub API using its own write-scoped
@@ -38,7 +39,11 @@ jobs:
38
39
  notify:
39
40
  # Drafts are not ready to review, and skipping them also stops the
40
41
  # duplicate post a draft would otherwise make on opened + ready_for_review.
41
- if: github.event.pull_request.draft == false
42
+ # `add-client/*` branches are new-lead PRs (n8n "New lead v3" opens them
43
+ # in team-clients). Their Merge/Close buttons live on the lead card in
44
+ # #notify-leads (`lead_pr_merge`/`lead_pr_close`), so they skip
45
+ # #notify-prs. Every other branch, `add-call/*` included, still posts.
46
+ if: github.event.pull_request.draft == false && !startsWith(github.event.pull_request.head.ref, 'add-client/')
42
47
  runs-on: ubuntu-latest
43
48
  steps:
44
49
  - name: Post PR to Slack with action buttons