@skriv/ads 0.0.0-stage → 0.2.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/README.md +47 -2
- package/bin/ads.mjs +59 -0
- package/dist/manifest.json +53 -0
- package/dist/skills/ads-code-review/SKILL.md +12 -0
- package/dist/skills/ads-code-to-figma/SKILL.md +10 -0
- package/dist/skills/ads-figma-to-code/SKILL.md +10 -0
- package/dist/skills/ads-init/SKILL.md +16 -0
- package/dist/skills/ads-init/profile.md +11 -0
- package/dist/skills/ads-init/scripts/connect.py +75 -0
- package/dist/skills/ads-record/SKILL.md +12 -0
- package/dist/skills/heroui-react/LICENSE.txt +199 -0
- package/dist/skills/heroui-react/SKILL.md +234 -0
- package/dist/skills/heroui-react/scripts/get_component_docs.mjs +157 -0
- package/dist/skills/heroui-react/scripts/get_docs.mjs +148 -0
- package/dist/skills/heroui-react/scripts/get_source.mjs +160 -0
- package/dist/skills/heroui-react/scripts/get_styles.mjs +160 -0
- package/dist/skills/heroui-react/scripts/get_theme.mjs +177 -0
- package/dist/skills/heroui-react/scripts/list_components.mjs +134 -0
- package/dist/skills/heroui-theming/LICENSE.txt +199 -0
- package/dist/skills/heroui-theming/SKILL.md +268 -0
- package/dist/skills/heroui-theming/references/any-framework.md +219 -0
- package/dist/skills/heroui-theming/references/components.md +237 -0
- package/dist/skills/heroui-theming/references/theme-recipe.md +701 -0
- package/dist/skills/heroui-theming/references/tokens.md +258 -0
- package/dist/skills/heroui-theming/scripts/_styles_dir.mjs +112 -0
- package/dist/skills/heroui-theming/scripts/list_component_classes.mjs +319 -0
- package/dist/skills/heroui-theming/scripts/list_tokens.mjs +157 -0
- package/dist/templates/flow.md +12 -0
- package/dist/templates/project.md +13 -0
- package/dist/templates/review.md +14 -0
- package/dist/templates/routing.md +11 -0
- package/dist/templates/theming.md +26 -0
- package/package.json +32 -4
- package/src/doctor.mjs +38 -0
- package/src/install.mjs +140 -0
- package/src/video.mjs +18 -0
package/README.md
CHANGED
|
@@ -1,3 +1,48 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @skriv/ads
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Install the Agentic Design System skill bundle into an existing project. Requires Node.js 22+ and npm. This package has no runtime npm dependencies and needs no global installation.
|
|
4
|
+
|
|
5
|
+
```sh
|
|
6
|
+
npx @skriv/ads@latest init
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
Then ask your agent: **Connect ADS to this project.** The installer creates a pending profile; the agent discovers actual commands, routes, tokens, contracts and evidence. Recording and review begin on their own requests.
|
|
10
|
+
|
|
11
|
+
## Included
|
|
12
|
+
|
|
13
|
+
- ads-init: project discovery and settings refresh.
|
|
14
|
+
- ads-record: local walkthrough recording and verified video handoff.
|
|
15
|
+
- ads-code-review: integrated behavior checks against approved contracts.
|
|
16
|
+
- ads-figma-to-code and ads-code-to-figma: design handoff in either direction.
|
|
17
|
+
- Optional HeroUI group: heroui-react for building interfaces and heroui-theming for global restyling and named light/dark themes. Detected for HeroUI v3 app manifests or enabled with --with-heroui. Both skills include their Apache-2.0 licenses; theming includes read-only scripts that inspect the installed @heroui/styles.
|
|
18
|
+
- Project profile, behavior-contract and review-report templates.
|
|
19
|
+
- Versioned installation metadata and file hashes, diagnostics and video validation.
|
|
20
|
+
|
|
21
|
+
## Commands
|
|
22
|
+
|
|
23
|
+
```sh
|
|
24
|
+
npx @skriv/ads@latest init ./product
|
|
25
|
+
npx @skriv/ads@latest init --dry-run
|
|
26
|
+
npx @skriv/ads@latest update
|
|
27
|
+
npx @skriv/ads@latest update --with-heroui
|
|
28
|
+
npx @skriv/ads@latest doctor
|
|
29
|
+
npx @skriv/ads@latest video-check ./walkthrough.mp4
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
All commands support --json. Init and update support --dry-run. Run from the project root or pass its directory. HeroUI detection scans app manifests up to four directory levels, excluding build, dependency and hidden directories. Use --with-heroui when a v3 version comes from a workspace catalog or alias. Updating a 0.1.x installation that already selected heroui-react also installs heroui-theming, even if detection no longer finds its app manifest.
|
|
33
|
+
|
|
34
|
+
## Project files and updates
|
|
35
|
+
|
|
36
|
+
Skills go into .agents/skills/. AGENTS.md gets a marked ADS block alongside existing instructions. A new profile goes to docs/ads/project.md; a pre-existing profile is preserved. Contract and report templates go into docs/ads/templates/. .ads/install.json records the installed version and hashes. Commit these files to share ADS with the team.
|
|
37
|
+
|
|
38
|
+
HeroUI installations also get docs/ads/templates/theming.md. The agent records approved token-definition files, exact selectors and theme names in the project profile, adapting the project's own token gate as needed. Raw values in upstream component examples still need approved tokens under ADS. The package supplies guidance; the reference lab's checker and its dependency set remain repository tools. Changing the theme still requires verifying states, both modes, focus and reduced motion.
|
|
39
|
+
|
|
40
|
+
Updates replace unchanged managed files. They preserve the project profile and instructions outside the marked block. If a managed file or routing block has local edits, the entire update stops before writing; compare it with the new bundle and reconcile before retrying. There is no force overwrite. An identical existing file can be adopted on init; a differing untracked skill requires reconciliation. Existing legacy ads-review installations need manual reconciliation with ads-code-review.
|
|
41
|
+
|
|
42
|
+
The CLI does not run application scripts or install recording dependencies during init. Agent requests use the project's existing runner and browser setup. For recording, doctor checks FFmpeg, ffprobe, agent-browser and project Playwright availability; the agent verifies the actual browser session. Missing optional tools are warnings. Missing or modified managed files are errors. A pending profile is a warning requiring discovery before recording or review. Figma access is checked by the agent in its connected Figma tool.
|
|
43
|
+
|
|
44
|
+
Install FFmpeg/ffprobe with your OS package manager when recording is needed. Use the project's approved browser tooling; follow its setup for Chrome, agent-browser or Playwright. video-check verifies a positive-duration video stream and decodes it with FFmpeg; the agent still checks that the intended scenario appears in the recording. Figma authentication and GitHub delivery use the user's existing connections.
|
|
45
|
+
|
|
46
|
+
## Maintainers
|
|
47
|
+
|
|
48
|
+
Source and release instructions: [skriv/ADS](https://github.com/skriv/ADS/tree/main/packages/ads). The package is UNLICENSED; both bundled HeroUI skills retain their own Apache-2.0 licenses.
|
package/bin/ads.mjs
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { parseArgs } from 'node:util';
|
|
3
|
+
import path from 'node:path';
|
|
4
|
+
import { readFileSync } from 'node:fs';
|
|
5
|
+
import { install } from '../src/install.mjs';
|
|
6
|
+
import { doctor } from '../src/doctor.mjs';
|
|
7
|
+
import { checkVideo } from '../src/video.mjs';
|
|
8
|
+
|
|
9
|
+
const help = `ADS — Agentic Design System
|
|
10
|
+
|
|
11
|
+
ads init [directory] [--with-heroui] [--dry-run] [--json]
|
|
12
|
+
ads update [directory] [--with-heroui] [--dry-run] [--json]
|
|
13
|
+
ads doctor [directory] [--json]
|
|
14
|
+
ads video-check <file> [--json]
|
|
15
|
+
|
|
16
|
+
Init installs all five ADS skills and creates a pending project profile.
|
|
17
|
+
Then ask your agent: "Connect ADS to this project".
|
|
18
|
+
Update preserves the profile, team instructions and locally edited files.
|
|
19
|
+
HeroUI v3 adds heroui-react and heroui-theming; or select with --with-heroui.
|
|
20
|
+
Node.js 22+ is required. No global install is needed.
|
|
21
|
+
`;
|
|
22
|
+
let json = false;
|
|
23
|
+
try {
|
|
24
|
+
const { values, positionals } = parseArgs({ allowPositionals: true, options: {
|
|
25
|
+
help: { type: 'boolean', short: 'h' }, version: { type: 'boolean', short: 'v' },
|
|
26
|
+
json: { type: 'boolean' }, 'with-heroui': { type: 'boolean' }, 'dry-run': { type: 'boolean' },
|
|
27
|
+
} });
|
|
28
|
+
json = values.json ?? false;
|
|
29
|
+
if (values.version) console.log(JSON.parse(readFileSync(new URL('../package.json', import.meta.url))).version);
|
|
30
|
+
else if (values.help || !positionals.length) console.log(help);
|
|
31
|
+
else {
|
|
32
|
+
if (Number(process.versions.node.split('.')[0]) < 22) throw new Error('ADS requires Node.js 22 or newer');
|
|
33
|
+
const [command, argument] = positionals;
|
|
34
|
+
if (positionals.length > 2) throw new Error('Expected one target directory or video file');
|
|
35
|
+
if (!['init', 'update', 'doctor', 'video-check'].includes(command)) throw new Error(`Unknown command: ${command}`);
|
|
36
|
+
if (!['init', 'update'].includes(command) && (values['dry-run'] || values['with-heroui'])) throw new Error('Install options apply only to init and update');
|
|
37
|
+
if (command === 'video-check' && !argument) throw new Error('Provide a video file');
|
|
38
|
+
const target = path.resolve(argument ?? process.cwd());
|
|
39
|
+
let result;
|
|
40
|
+
if (command === 'doctor') result = doctor(target);
|
|
41
|
+
else if (command === 'video-check') result = checkVideo(target);
|
|
42
|
+
else result = install({ target, command, withHeroUI: values['with-heroui'], dryRun: values['dry-run'] });
|
|
43
|
+
if (json) console.log(JSON.stringify(result, null, 2));
|
|
44
|
+
else if (command === 'doctor') {
|
|
45
|
+
for (const check of result.checks) console.log(`[${check.status}] ${check.name}: ${check.detail}`);
|
|
46
|
+
} else if (command === 'video-check') console.log(`Decoded ${result.file}: ${result.duration}s, ${result.width}x${result.height}, ${result.codec}`);
|
|
47
|
+
else {
|
|
48
|
+
console.log(`${result.dryRun ? 'Would install' : 'Installed'} @skriv/ads@${result.version} in ${result.root}`);
|
|
49
|
+
console.log(`Skills: ${result.skills.join(', ')}`);
|
|
50
|
+
console.log(`${result.changes.length} file(s) ${result.dryRun ? 'planned' : 'changed'}.`);
|
|
51
|
+
if (result.profilePending) console.log('Project discovery pending. In your agent chat: "Connect ADS to this project".');
|
|
52
|
+
}
|
|
53
|
+
if (result.healthy === false) process.exitCode = 1;
|
|
54
|
+
}
|
|
55
|
+
} catch (error) {
|
|
56
|
+
if (json) console.log(JSON.stringify({ error: error.message }));
|
|
57
|
+
else console.error(`ADS: ${error.message}`);
|
|
58
|
+
process.exitCode = 1;
|
|
59
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema": 1,
|
|
3
|
+
"package": "@skriv/ads",
|
|
4
|
+
"version": "0.2.0",
|
|
5
|
+
"skills": [
|
|
6
|
+
"ads-init",
|
|
7
|
+
"ads-record",
|
|
8
|
+
"ads-code-review",
|
|
9
|
+
"ads-figma-to-code",
|
|
10
|
+
"ads-code-to-figma"
|
|
11
|
+
],
|
|
12
|
+
"optionalSkills": [
|
|
13
|
+
"heroui-react",
|
|
14
|
+
"heroui-theming"
|
|
15
|
+
],
|
|
16
|
+
"skillGroups": {
|
|
17
|
+
"heroui": [
|
|
18
|
+
"heroui-react",
|
|
19
|
+
"heroui-theming"
|
|
20
|
+
]
|
|
21
|
+
},
|
|
22
|
+
"files": {
|
|
23
|
+
"skills/ads-init/SKILL.md": "6566901437578a1ffb6b223de9191732f5f8210caae0bd8c8c35db697f6ad715",
|
|
24
|
+
"skills/ads-init/profile.md": "9fc63284dd75cef57eee30fac0fdc04cde5752d2d9559159cca909aefe0d2dc5",
|
|
25
|
+
"skills/ads-init/scripts/connect.py": "c3ed51f64d4cbeddf1981e7da35a4d61a2121d3df5df28bce7870e67ebcab5bb",
|
|
26
|
+
"skills/ads-record/SKILL.md": "e8e568d4f0c179c8b998b4cb5df01f5ce42598704e4bb9a6f5f16b7fa9274a19",
|
|
27
|
+
"skills/ads-code-review/SKILL.md": "5f0091bef3f305a7c1233ea3c2739c3105f36ba0c9106c915fc2803f3a979844",
|
|
28
|
+
"skills/ads-figma-to-code/SKILL.md": "c88252adaffca1d55af7a702dd9f9879d165f81ac9707bb1cc7ad4aa72455929",
|
|
29
|
+
"skills/ads-code-to-figma/SKILL.md": "99d2486079fc7f28ea283012a8b95b68cbc889932d4efe2ca5101dc7744f7a7e",
|
|
30
|
+
"skills/heroui-react/SKILL.md": "4a57a4b2cc35abbcc991f443ae829fc2225135be3c76d9b74839561939cf4fda",
|
|
31
|
+
"skills/heroui-react/LICENSE.txt": "bd087c1ebd511adbab74705ec2b31d63d175e8d422f58c1af54754da02b1d329",
|
|
32
|
+
"skills/heroui-react/scripts/get_source.mjs": "4f57918ad5d3f70af95258da32d6baada7e65a7c898f936c6235f89b87bd5429",
|
|
33
|
+
"skills/heroui-react/scripts/list_components.mjs": "bb41505fe4f375f7899be4c33621baa8d677cdaaafc94779f4971edff0928033",
|
|
34
|
+
"skills/heroui-react/scripts/get_component_docs.mjs": "b602c657716f609f6c25530ab191900715fd0d42f4e96304f8807e30cfaa5aed",
|
|
35
|
+
"skills/heroui-react/scripts/get_styles.mjs": "49026d791b24194f9591746e745e2ea151230868add46ccdaba0eacb0763f589",
|
|
36
|
+
"skills/heroui-react/scripts/get_theme.mjs": "29bf627208839ec297d546273fdd712702635784505f26c3e537f4e4d32486b5",
|
|
37
|
+
"skills/heroui-react/scripts/get_docs.mjs": "c5b746cd1f8da6066822623876a55537163c80fefcf4d441ed55ed9df8518ac2",
|
|
38
|
+
"skills/heroui-theming/SKILL.md": "e90477808ff2f45cb3015b61c5a9421b6fe86b24abea5c2f325007fcd7e053cd",
|
|
39
|
+
"skills/heroui-theming/LICENSE.txt": "bd087c1ebd511adbab74705ec2b31d63d175e8d422f58c1af54754da02b1d329",
|
|
40
|
+
"skills/heroui-theming/references/tokens.md": "cb82d01020a9a28bf69241a468fb9feadbf36f5a7312a0b76238dfb0e06ad109",
|
|
41
|
+
"skills/heroui-theming/references/components.md": "0bbf38836337bde4eb3d2bf980c4971a4a8f398fe9e57a0f4a9c486f3802fe31",
|
|
42
|
+
"skills/heroui-theming/references/theme-recipe.md": "a7fb4bebb59e28b535fa4e62d62c028fd3763c9bf1ca8326052dc0c937da4908",
|
|
43
|
+
"skills/heroui-theming/references/any-framework.md": "1a002a5992effd7537c1a5f1b661a4f676f26f4f3f6e44e6a6cef8f325fbc99f",
|
|
44
|
+
"skills/heroui-theming/scripts/_styles_dir.mjs": "25961da4ab8d7dc0c1d2ffaf97a265e8dd77205d29f802fe00e8b941b2f18622",
|
|
45
|
+
"skills/heroui-theming/scripts/list_tokens.mjs": "3c772fdc29fcc58908f6376a6b0bb572d1611ea4ae6dacaa7113a337c0bf9ad8",
|
|
46
|
+
"skills/heroui-theming/scripts/list_component_classes.mjs": "8f18cc14101abf0c1d4fb2ec358d19fe6d2616c56f2fa1fbd08986be91f62547",
|
|
47
|
+
"templates/project.md": "14d3937647515196adafce56307ceeaa10330df5115c0bf54ae7a46cd92535c4",
|
|
48
|
+
"templates/flow.md": "5f521209a0735eb469b63d7701bb109b9c272bc1296f13a9142c65b1fe7c8905",
|
|
49
|
+
"templates/review.md": "16d4a00b3fae55237855ca8d1bfb5dc977a29ee76ee592bfbe77d139fc4033c7",
|
|
50
|
+
"templates/routing.md": "68c212fbd611fa2c8c4d18a15229d73ce783ff726eecab1244759a9aaed1b948",
|
|
51
|
+
"templates/theming.md": "b644cfc9e43a909909e92312ed666eb0ebf7685503b20cf6cf9846d2430dbeda"
|
|
52
|
+
}
|
|
53
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ads-code-review
|
|
3
|
+
description: Review integrated component behavior against the design contracts for all flows affected by the local change set or a specified comparison. Discover scope, contracts and checks automatically and report results to the developer.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
First read docs/ads/project.md in the product repository at the revision under review. Resolve app roots, contract conventions, local startup, verification commands, service boundaries and required evidence from this profile. For an older revision without a profile, discover these facts read-only from its manifests, routes, tests and documentation; report unresolved settings. A request such as “Check the integrated form against its contract” is sufficient. Run the checks yourself. Work locally using the checked-out files and Git refs.
|
|
7
|
+
|
|
8
|
+
1. Identify the requested flow from the conversation or discover affected flows from local changes. Include staged, unstaged and untracked sources. If a local comparison base is known, include committed changes since its merge base. State the scope and revision or working tree tested. On a clean tree review the requested flow; if there is no flow or reliable change set, report that.
|
|
9
|
+
2. Enumerate changed contracts and components using the profile's flow mappings and conventions. Include newly added flows and follow changes in shared controls, imports, routes, adapters and services back to all affected consumers. Read each affected contract from the tested revision even if the contract file is unchanged. Account for renamed and deleted flows using both sides of the diff. Flag a missing contract for an active flow as Unverified.
|
|
10
|
+
3. For a changed shared component, exercise its catalog example and independent checks, then the affected consuming flows. Read each complete contract. Build checks from its current scenario IDs and expectations. Trace the rendered component through its actual integration. Locate local tests or review scripts and inspect their assertions against the current contract. Exercise uncovered criteria through the running app with targeted checks. Start the local app if needed; discover its address and available test dependencies yourself. Use synthetic data. Use commands and routes for the selected app and compare each existing check with the current criteria. Check server-side evidence where the contract requires acceptance.
|
|
11
|
+
4. Run the project's design-token check from the profile. Inspect every authored visual override in the affected UI, including nested elements, slots, all states, inline styles, utility output, SVG presentation and dynamic or imported styles. Trace each value to an approved theme token. Use the project's actual theme definitions. A raw value, unknown token or missing mapping fails the token gate and blocks acceptance even when the flow scenarios pass. Report the component/state, file and line, property and observed value. Ask which approved token should be used. Leave token creation and substitution to the design decision. If evidence for the gate is unavailable, mark it Unverified and withhold acceptance.
|
|
12
|
+
5. Report in English. Include a separate design-token verdict and apply it to the overall verdict alongside the scenario results. Give the scope and an overall verdict, then the result for each component and scenario ID. Passed requires observed evidence for all criteria, Failed requires a reproducible mismatch, and Unverified names the missing evidence. For failures give expected vs actual behavior, reproduction and the relevant file. Lead with actionable findings. A failed token gate or scenario makes the overall verdict Failed. If any remaining criterion lacks evidence and none failed, the verdict is Unverified. Include the command or steps for reproduction. Keep the review read-only with respect to product code and contracts.
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ads-code-to-figma
|
|
3
|
+
description: Transfer an implemented ADS component or running user flow to Figma. Use when the requested output is a reusable Figma component set, editable flow frames or a clickable prototype based on project code and its behavior contract.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
Read the target project's AGENTS.md and docs/ads/project.md. Identify the implementation, catalog example or route and current behavior contract. Open the local app to observe the actual states. If implementation and contract disagree, identify the discrepancy and ask which behavior to represent. Use synthetic data. Resolve the destination file or draft from the request and confirm the available Figma connection can write there. Ask for the destination or access if needed.
|
|
7
|
+
|
|
8
|
+
- **Reusable library component.** Use native Figma canvas editing to create or update the intended component set. Reuse the destination library's instances, variables and styles. Build Auto Layout, named editable slots with their defaults and variants for supported states. Verify an instance by replacing slot content and switching states. Revisit the resulting nodes to confirm component type, properties and bindings.
|
|
9
|
+
- **Whole flow.** Capture the running app's relevant steps as editable frames, label them with contract scenario IDs and identify simulated responses. For a requested clickable prototype, connect the frames and exercise success, error and retry paths as applicable. A screen capture supplies layers; building reusable instances requires canvas editing.
|
|
10
|
+
- **Handoff.** Verify visual bindings for nested elements, slot contents and state overrides. When a mapping is missing, report the element, state, property and value and ask which approved variable or style to use. Withhold acceptance until resolved. Return direct links to verified nodes, the states covered and anything unverified. Leave library publication and PR delivery to separate requests.
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ads-figma-to-code
|
|
3
|
+
description: Implement or update an ADS component or user flow in project code from a Figma component set, selection or linked flow frames. Use for design-to-code handoff, including slots, variants, token mapping and behavior contracts.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
Read the target project's AGENTS.md and docs/ads/project.md. Identify the Figma selection and the existing component or route it should change. Use an authorized Figma connection to inspect the source nodes, component properties, variable bindings, layout, screenshots and available prototype connections. If the selection is a single instance, inspect its main component set when variants matter. Ask for the selection link or read access if the source is unavailable.
|
|
7
|
+
|
|
8
|
+
- **Reusable component.** Check the installed library and project catalog first. In HeroUI projects open the official example for the installed version and use its composition and default styles. Map named slots, defaults, supported replacement content and meaningful variants to the public component API. For a new shared control, add a catalog entry, an example and isolated checks that replace slot content and exercise states.
|
|
9
|
+
- **Flow.** Map the linked frames to the existing route and compose the shared controls. Record confirmed triggers, validation, pending, failure, retry, success and retained data where relevant in the consuming flow's English contract. Preserve scenario IDs. A pictured state alone does not establish a business transition. Ask about consequential missing or conflicting behavior.
|
|
10
|
+
- **Tokens and verification.** Trace visual properties across nested elements, slots and states to approved project tokens. For an ambiguous or unbound value, name the node, state, property and value and ask which token to use. Apply custom styling only on explicit request. Run the project's token gate, affected component checks and integrated flow checks. Compare the local UI with the supplied design. Return changed files, contract scenarios, verification results and outstanding decisions.
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ads-init
|
|
3
|
+
description: Connect Agentic Design System to an existing project when the user says “подключи ADS”, “connect ADS”, or requests ADS onboarding or a refresh of project settings. Inspect the target repository, install the local skills and maintain docs/ads/project.md.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
Work in the user's target repository. Resolve this skill's real directory (it may be a personal symlink). Use this directory and its sibling ADS skills as the installation source. When upgrading a connected project, run the helper from the updated bundle. Run tools for the user.
|
|
7
|
+
|
|
8
|
+
If installed through @skriv/ads, .ads/install.json records the bundle version and managed files. A profile marked `ads-profile: pending` is a starter, not discovered settings. Complete discovery below and remove that marker only after writing verified settings. The npm CLI installs files; the agent performs project discovery. Use `npx @skriv/ads@latest update` for bundle upgrades, preserving project edits and reconciling conflicts. Use `npx @skriv/ads@latest doctor` for environment diagnostics.
|
|
9
|
+
|
|
10
|
+
For HeroUI projects the package installs heroui-react and heroui-theming together. Inspect tokens and component classes from the app's installed @heroui/styles using the theming skill's read-only scripts. Record approved definition files, exact theme selectors and active theme names in the profile. Preserve the project's token gate; raw values in theming examples still require approved definitions under ADS. Use docs/ads/templates/theming.md when available. A new theme or token requires the designer's decision before changing the approved sources.
|
|
11
|
+
|
|
12
|
+
1. Identify the repository root, existing agent instructions, app/workspace roots, manifests, lockfiles, package scripts, framework routes, component and service directories, test configurations, docs, and ignore rules. Inspect the actual files behind likely commands. Include all relevant apps, with distinct working directories, in a monorepo. Use existing UI libraries and product conventions. Identify the approved token sources and how the build rejects hardcoded visual values. Record the command or gap in the profile. Preserve the token rule in the target agent instructions when connecting or refreshing ADS. Record the installed UI library, locked version, shipped component catalog, project catalog, standalone example routes and test commands. In HeroUI projects consult the local heroui-react skill and installed exports. Adoption of a different UI stack is a separate design decision.
|
|
13
|
+
2. Discover the contract convention, flow routes and where business acceptance can be verified. Prefer existing contract locations. Otherwise adopt docs/ads/flows/<slug>.md for future English contracts. Find existing walkthrough tools, browser specs, isolated data and service setup. Choose a local Git-ignored recording location (add a narrow ignore entry if needed). Record missing capabilities explicitly. Commands and paths must be grounded in the target project. For secrets record only the environment variable name.
|
|
14
|
+
3. Read the profile outline in profile.md beside this skill. Create docs/ads/project.md in English with concrete values and repository-relative paths, including command working directories. Distinguish verified facts, conventions selected for new artifacts, and unresolved settings. On repeat runs update changed facts and preserve team decisions and unrelated content. Do not invent acceptance criteria from implementation or copy the sample feedback app. Validate paths and run an appropriate available local smoke check. State exactly what was tested.
|
|
15
|
+
4. If .ads/install.json exists, the package installer already installed the skills and routing; verify these files and preserve its metadata rather than running the legacy helper. Otherwise run python3 <real-skill-directory>/scripts/connect.py <target-repository-root>. It installs the ADS skills and adds routing to the repository's AGENTS.md. Check for existing customized skills reported by the helper; reconcile them with the current bundle without losing project-specific changes. For an older installation, also refresh its ads-init helper and instructions so subsequent local runs use the current bundle. For a HeroUI v3 target, make heroui-react available locally if missing: use `npx @skriv/ads@latest update --with-heroui` for a package installation, or the bundled sibling skill or its official project-scope installation for a legacy setup.
|
|
16
|
+
5. Summarize the detected app(s), the profile path and any gaps affecting recording or review. Initialization is local. Recording and posting review results are separate requests.
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# Project profile outline
|
|
2
|
+
|
|
3
|
+
Keep this a human-readable settings file at docs/ads/project.md. Paths are relative to the repository root. Record the following fields once per app when they differ.
|
|
4
|
+
|
|
5
|
+
- **Application** — name, root, framework, package manager, lockfile and design system. Cite manifests or other discovery evidence.
|
|
6
|
+
- **Run locally** — installation, start and test commands, their working directories, local origin discovery, environment requirements, test accounts or fixtures (names only).
|
|
7
|
+
- **Flow mapping** — component/route directories, contract convention, shared dependencies, and known flow mappings. For each known flow record the source, contract, app URL path, relevant service and available checks. Update this list as flows are added.
|
|
8
|
+
- **Recording** — existing recorder command or browser automation method, output path, playback method, controlled responses and fixtures if available.
|
|
9
|
+
- **Design tokens** — approved definition files and selectors, theme entry import, active light/dark names, token check, build integration and unresolved mappings. For HeroUI, distinguish variables.css definitions from component override files; importing CSS does not approve literals in it.
|
|
10
|
+
- **Review** — existing test commands, which evidence confirms acceptance, which checks use a controlled boundary, and how to run missing checks in the browser.
|
|
11
|
+
- **Verification and gaps** — smoke checks actually run and anything that still requires an environment or team decision.
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
"""Install the skill bundle after the agent has inspected the target project."""
|
|
2
|
+
from pathlib import Path
|
|
3
|
+
import hashlib
|
|
4
|
+
import shutil
|
|
5
|
+
import sys
|
|
6
|
+
|
|
7
|
+
source = Path(__file__).resolve().parents[2]
|
|
8
|
+
root = Path(sys.argv[1]).resolve()
|
|
9
|
+
profile = root / "docs/ads/project.md"
|
|
10
|
+
if (root / ".ads/install.json").is_file():
|
|
11
|
+
sys.exit("This project is managed by @skriv/ads. Use npx @skriv/ads@latest update; preserve .ads/install.json and complete project discovery through ads-init.")
|
|
12
|
+
if not profile.is_file():
|
|
13
|
+
sys.exit(f"Write the discovered project settings to {profile} first.")
|
|
14
|
+
|
|
15
|
+
names = ("ads-init", "ads-record", "ads-code-review", "ads-figma-to-code", "ads-code-to-figma")
|
|
16
|
+
for name in names:
|
|
17
|
+
if not (source / name / "SKILL.md").is_file():
|
|
18
|
+
sys.exit(f"Missing installation source: {source / name}")
|
|
19
|
+
|
|
20
|
+
skills = root / ".agents/skills"
|
|
21
|
+
skills.mkdir(parents=True, exist_ok=True)
|
|
22
|
+
legacy = skills / "ads-review"
|
|
23
|
+
review = skills / "ads-code-review"
|
|
24
|
+
if legacy.exists() or legacy.is_symlink():
|
|
25
|
+
if legacy.is_symlink() or review.exists() or review.is_symlink():
|
|
26
|
+
sys.exit(f"Reconcile the existing {legacy} with {review} before retrying. Both paths were preserved.")
|
|
27
|
+
entry = legacy / "SKILL.md"
|
|
28
|
+
if entry.is_symlink() or not entry.is_file():
|
|
29
|
+
sys.exit(f"Inspect the legacy skill entry at {entry} before migrating it.")
|
|
30
|
+
old = entry.read_text()
|
|
31
|
+
parts = old.split("---", 2)
|
|
32
|
+
if len(parts) != 3 or parts[0].strip() or "name: ads-review" not in parts[1].splitlines():
|
|
33
|
+
sys.exit(f"Inspect the customized name in {entry} before migrating it.")
|
|
34
|
+
# Released legacy review plus the local edition with the token gate.
|
|
35
|
+
stock = hashlib.sha256(entry.read_bytes()).hexdigest() in {
|
|
36
|
+
"180a0840181d66e5e7bcdec0a6d73cf1c6df26016930988a0524c7efb9677630",
|
|
37
|
+
"8fa8d1132cbe594a8f2804fd45f50dbf23e8832a4bb061701e2e2af3d01ad3c1",
|
|
38
|
+
}
|
|
39
|
+
entry.write_text((source / review.name / "SKILL.md").read_text() if stock else old.replace("ads-review", review.name))
|
|
40
|
+
legacy.rename(review)
|
|
41
|
+
if not stock:
|
|
42
|
+
print(f"Preserved customized review. Reconcile its rules with the current bundle: {review}")
|
|
43
|
+
|
|
44
|
+
for name in names:
|
|
45
|
+
dest = skills / name
|
|
46
|
+
if dest.exists():
|
|
47
|
+
print(f"Keeping existing skill: {dest}")
|
|
48
|
+
else:
|
|
49
|
+
shutil.copytree(source / name, dest)
|
|
50
|
+
print(f"Installed {name}")
|
|
51
|
+
|
|
52
|
+
instructions = root / "AGENTS.md"
|
|
53
|
+
original = instructions.read_text() if instructions.exists() else ""
|
|
54
|
+
text = original.replace("ads-review", "ads-code-review")
|
|
55
|
+
marker = "<!-- ads-project-routing -->"
|
|
56
|
+
if marker not in text:
|
|
57
|
+
text = text.rstrip() + ("\n\n" if text.strip() else "") + marker + """
|
|
58
|
+
## Agentic Design System
|
|
59
|
+
|
|
60
|
+
Read docs/ads/project.md for this repository's applications, design system, routes, contracts and local checks. Keep the affected flow's English contract and stable scenario IDs in sync with design changes. Use the approved contract as the baseline for implementation fixes. Follow the project's existing UI conventions.
|
|
61
|
+
|
|
62
|
+
Use ads-init to refresh project settings, ads-record for a separate walkthrough request, and ads-code-review to verify integrated behavior. Run the tools for the user. Post results externally only when requested.
|
|
63
|
+
"""
|
|
64
|
+
token_marker = "<!-- ads-design-tokens -->"
|
|
65
|
+
if token_marker not in text:
|
|
66
|
+
text += "\n" + token_marker + """
|
|
67
|
+
Use approved design-system tokens for every authored visual value in components, slots and states. During creation and review, run the token check recorded in docs/ads/project.md and trace dynamic styling to its token source. Block acceptance for a literal or unresolved mapping and ask the designer which token to use.
|
|
68
|
+
"""
|
|
69
|
+
figma_marker = "<!-- ads-figma-routing -->"
|
|
70
|
+
if figma_marker not in text:
|
|
71
|
+
text += "\n" + figma_marker + """
|
|
72
|
+
Use ads-figma-to-code to implement a supplied Figma design in the project. Use ads-code-to-figma to build a reusable Figma component or transfer a running flow to editable frames.
|
|
73
|
+
"""
|
|
74
|
+
if original != text:
|
|
75
|
+
instructions.write_text(text)
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ads-record
|
|
3
|
+
description: Record a local walkthrough of a project's flow on a separate designer request. Discover routes, tools and output paths from docs/ads/project.md and return verified video evidence.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
Read docs/ads/project.md in the target repository before selecting commands or paths. If absent, initialize the profile with ads-init first. If a setting is stale, inspect the actual project and resolve the discrepancy before using it.
|
|
7
|
+
|
|
8
|
+
Identify the app and affected flow from the request or working changes. Resolve its contract, route, working directory, local startup and recording method through the profile. Read the contract on this revision and select the visible scenarios. Run the tools yourself. Start or reuse a loopback server for this checkout and confirm its identity. Use synthetic input and a dedicated browser session.
|
|
9
|
+
|
|
10
|
+
Prefer the app's configured recorder after checking its actions against the contract. Otherwise use agent-browser to record the actual interactive route, asserting each transition. Use controlled responses for pending/failure scenarios as needed and identify them in the handoff. Save to a temporary video, verify the take decodes with a positive duration and shows the intended results, then replace the previous clip in the profile's recording location. Return a playable local link, covered scenario IDs and any gaps. Keep a failed take separate from the last successful recording.
|
|
11
|
+
|
|
12
|
+
For a package-managed project (.ads/install.json exists), `npx @skriv/ads@<installed-version> video-check <temporary-video> --json` provides duration, stream and full decode verification through ffprobe and FFmpeg. Use the installed version from the metadata. Inspect the visible recording separately to confirm the intended scenario. This check does not replace the project's recorder or approve unobserved behavior.
|
|
@@ -0,0 +1,199 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to the Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by the Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding any notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
+
|
|
180
|
+
To apply the Apache License to your work, attach the following
|
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
182
|
+
replaced with your own identifying information. (Don't include
|
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
+
comment syntax for the file format. Please also get an approval
|
|
185
|
+
from the project maintainers before using the Apache License.
|
|
186
|
+
|
|
187
|
+
Copyright 2025 NextUI Inc.
|
|
188
|
+
|
|
189
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
190
|
+
you may not use this file except in compliance with the License.
|
|
191
|
+
You may obtain a copy of the License at
|
|
192
|
+
|
|
193
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
194
|
+
|
|
195
|
+
Unless required by applicable law or agreed to in writing, software
|
|
196
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
197
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
198
|
+
See the License for the specific language governing permissions and
|
|
199
|
+
limitations under the License.
|