Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions src/copilot-shell/component.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
manifest_version = 2
anolisa_min_version = "0.1.0"

[component]
name = "cosh"
version = "2.5.0"
layer = "runtime"
domain = "tools"
description = "Copilot shell launcher and deterministic CLI gateway"
stability = "experimental"

[install]
modes = ["system"]

[backends.rpm]
package = "copilot-shell"

[environment]
requires_os = "linux"
requires_arch = ["x86_64", "aarch64"]

[dependencies]
runtime = ["node>=20"]

[[health_checks]]
name = "launcher"
kind = "command"
command = "{bindir}/cosh --version"
4 changes: 4 additions & 0 deletions src/copilot-shell/copilot-shell.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ Requires: nodejs >= 20
Requires(post): lua
Requires(postun): lua
Provides: %{_bindir}/co %{_bindir}/copilot %{_bindir}/cosh
Provides: anolisa-component(cosh)

%description
Copilot Shell - Entrance to AI-native OS.
Expand All @@ -30,12 +31,15 @@ make build
%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot} PREFIX=%{_prefix}
install -d %{buildroot}%{_datadir}/anolisa/components/cosh
install -m 0644 component.toml %{buildroot}%{_datadir}/anolisa/components/cosh/component.toml

%files
%license %{_docdir}/%{name}/LICENSE
%doc %{_docdir}/%{name}/README.md
%{_prefix}/lib/%{name}
%{_datadir}/%{name}
%{_datadir}/anolisa/components/cosh/component.toml
%{_bindir}/co
%{_bindir}/copilot
%{_bindir}/cosh
Expand Down
Loading